I had configure and have NSCA running in my Nagios Central Server. I have a few windows machine running at remote sites where i would need to collect the process information.
How can i make the windows client send the information to Central Server??
What is the define service configurations should be done at the Central Server??
I had downloaded the send_nsca_win32 from Nagios Exchange. i had created a test message and execute the command (same as what i did in the Nagios Central Server) and i get the data packet sent as below.
C:\NSCA\send_nsca_win32_bin>send_nsca.exe -H 192.168.0.247 -c send_nsca_original
.cfg < test.txt
1 data packet(s) sent to host successfully.
However I still wondering how should i work about it to send a useful information and get it displayed at the webpage to indicated the service is up or down???
nagios.sourceforge.net/docs/2_0/ … hecks.html
nsca addon. The addon consists of a daemon that runs on the Nagios hosts and a client that is executed from remote hosts. The daemon will listen for connections from remote clients, perform some basic validation on the results being submitted, and then write the check results directly into the external command file (as described above). More information on the nsca addon can be found here…
External applications can submit host check results to Nagios by writing a PROCESS_HOST_CHECK_RESULT external command to the external command file.
Of course, since you are submitting results to the external command file, via nsca, you will have to have a service and host defined on the central nagios server that matches exactly what you have defined in your remote setup.
Unfortunately, at the nagios web i can only see : Status - Pending "Service is not scheduled to be checked…"
YOu see that, becuase nagios doesn’t schedule passive checks, and you have active checks disabled. So that is what is expected to be seen.
But your check program you wrote is at fault and doesn’t conform to to the rules that need to be followed, or SYNTAX. nagios.org/developerinfo/ext … and_id=114
PROCESS_SERVICE_CHECK_RESULT;<host_name>;<service_description>;<return_code>;<plugin_output>
Your syntax looks to be faulty still. Follow the guide on the url I provided.