HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   NSCA problem in CentOS 5 (http://www.howtoforge.com/forums/showthread.php?t=47865)

rhinestone9 10th August 2010 10:39

NSCA problem in CentOS 5
 
I'm trying to set up NSCA for distributed monitoring in Nagios. I already read and did what the documentation says but I cannot make it work. In some article I found on the net, there's a need for you to make a script and manually run that script to see if the central server really accepts the command by looking at /var/log/messages. When i ran the script, it says that "1 data packet(s) sent to host successfully.". On the central server's log it says:
Aug 9 14:35:00 localhost xinetd[10943]: START: nsca pid=11963 from=192.168.100.172
Aug 9 14:35:00 localhost xinetd[10943]: EXIT: nsca status=3 pid=11963 duration=0(sec)

But the status of the host's services weren't changing. It's constantly pending even if it says in the distributed that the packets were sent successfully.
However when I try this command I found on the net ./send_nsca -H <central server's IP> -p 5667-c /etc/nagios/send_nsca.cfg, (I don't really know what this command do but I think it's related to sending something to the central server)it says:

Error: Timeout after 10 seconds

But on the central server's log, it says:
Aug 9 14:40:00 localhost xinetd[10943]: START: nsca pid=11963 from=192.168.100.172
Aug 9 14:40:00 localhost xinetd[10943]: EXIT: nsca status=3 pid=11963 duration=0(sec)

I was thinking this might be a link to the problem. I already tried my best to solve this but still it's not working.
Can anyone help me with it? Any help is appreciated. Thank you.

crzyOrc 11th August 2010 13:36

try NRPE insted

rhinestone9 13th August 2010 04:49

NRPE? how? I'm trying to set up a distributed monitoring and as I know, NRPE is used only in monitoring linux/unix machines or maybe I was wrong.


All times are GMT +2. The time now is 01:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.