Mnotoring DHCP and Tomcat service

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
eng_m_g
Posts: 19
Joined: Tue Mar 27, 2012 4:12 pm

Mnotoring DHCP and Tomcat service

Post 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?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Mnotoring DHCP and Tomcat service

Post 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.
Locked