On 18 Nov 2009, at 15:22, David Bell wrote:

The Slave is up, and is carrying out the checks it is asked to, but the check_opsview_slave always comes back that the Slave process is not running on this new Slave, pointing at the NSCA status as being the issue, the value in the nsca.status file being 2.
 
What is it that would set this value - I can manually edit it to 0 which clears the problem, but some process re-sets it to 2.

The nsca.status file is automatically updated by the process on the slave that tries to send data off to the master (/usr/local/nagios/bin/process-cache-data).

What happens if you try running the following on the slave?

  printf "host\tsvc\t0\toutput\n" | /usr/local/nagios/bin/send_nsca -H localhost -c /usr/local/nagios/etc/send_nsca.cfg

  Duncs
 
-- 
Duncan Ferguson
Senior Developer



Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK

Phone:   
+44 (0) 845 057 7887
Mobile
:   +44 (0) 7968 148 748
Skype:   duncan_j_ferguson     Email:   
[email protected]
www.opsera.com

Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, SurreyGU21 4RB.

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to