Right now I am setting up a test system for proof-of-concept to implement Nagios to monitor a large number of servers and VPN concentrators, however I am having some problems finding documentation and API’s for setting up custom checks through NSC++ and/or NRPE.
My understanding (please correct me if I am wrong) is that NRPE is utilized by NSC++ for monitoring a windows host, or can be implemented as a stand-alone solution for the monitoring of a *nix host.
I currently have the Nagios server up and running, monitoring basic functions on two W2k3 servers- but before I present this to my team I would like to be able to showcase the abilities of Nagios to be customized.
1- Monitoring the heap size of an Apache Tomcat JVM (mostly looking for an alert if it breaks a specified limit- I have a batch file that watches the log now, but it only reacts when the service has already crashed, a little warning and the ability to proactively restart the service would be a HUGE improvement, and save me a lot of helpdesk tickets)
2- Monitor remote host connectivity to a satellite system (eg monitoring a remote server’s latency & connectivity to a database server)
3- How/where to define event handlers on the remote system (is it the same process as a creating a check, simply pointing it to the handler script?)
On a slightly less related note:
I also am looking to monitor several other OS’s; namely AIX, and VMS; is NPRE all that I need to monitor these hosts?
If you would happen to know of any resources, or have a snippet of code to get me started on the right track, it would be greatly appreciated.