I have no doubt that I’m missing something obvious but I can’t see it. Here’s what’s happening:
I’m trying to get NSCA working. I installed it and am running it as a daemon. That seems to be working. Then, as a test, I setup some “dummy” services with passive checks turned on. This also seems to work because I was able to test by echoing commands directly into the nagios command file.
Then, as a test, I tried using send_nsca to change the status of the passive service. For the record, I did this on the same host as the NSCA daemon; I’m just testing at this point and didn’t have a remote server readily available. Anyway, I was able to successfully update the status of my passive service via send_nsca.
However, it only worked once. The only way I’ve been able to successfuly use send_nsca it to restart the nsca daemon. Then, send_nsca works once. Any subsequent attempts times out (Error: Timeout after 10 seconds).
OK, guys, what am I missing? My gut tells me it’s something stupidly obvious… but I just can’t find it. So far, nothing in the logs reveals anything to me (I have debug set to 1).