Page 1 of 1

Mnotoring DHCP and Tomcat service

Posted: Thu Sep 20, 2012 5:29 am
by eng_m_g
Dear Team,

Kindly could you please tell me how can i monitor DHCP And Tomcat service on my Linux server if it is running or stopped?

Re: Mnotoring DHCP and Tomcat service

Posted: Thu Sep 20, 2012 6:43 pm
by jsmurphy
hello eng.... I see you've found the font size button today.

Assuming you have NRPE running on the server with the standard nagios plugins you can use the check_procs plugin.

Code: Select all

./check_procs -c 1: -C tomcat
Will return critical if there are no instances of tomcat running... you could do the same thing for the DHCP service.