티스토리 뷰

Old stories/OpenSource

OpsView Slave 오류 처리

드카니 2011. 11. 24. 17:49

Just to add my notes to this thread, I had the same error after updating the OS on a slave and rebooting.

"SLAVE CRITICAL - Error returned from retrieval: Status file does not exist

Communication between the master and slave were fine. I veriifed with:

/usr/local/nagios/bin/send2slaves -t   # on the master

/usr/lcoal/nagios/bin/dosh -i -s slavehost uname -a   # also on the master

/etc/init.d/opsview-slave test   # on the slave

/etc/init.d/opsview-slave status  # also on the slave

Slaves were running fine and master could establish communication with reverse ssh tunnel. Checked the slave, the file /usr/local/nagios/var/status.dat was not there. Also, the process import_slaveresultsd was not running. Manually starting this process made no difference. Neither did stopping/starting Opsview on the slave and master mutliple times.

I solved the problem by going to Advanced --> Monitoring Servers. Click on the slave server giving the error and UNCHECK Activated. Then reload configuration. When complete, go back and CHECK Activated and reload configuration.

After the reload, /usr/local/nagios/var/status.dat now exists on the slave and import_slaveresultsd is running on the slave. All slave checks clear from the master.

반응형
댓글

 

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함