Page 1 of 1

How to monitor Linux processes with NRPE?

Posted: Mon Jun 06, 2016 2:47 pm
by dlukinski
Hello XI support

How to monitor Linux processes with NRPE (similar way as done with SNMP)?

Thank you

Re: How to monitor Linux processes with NRPE?

Posted: Mon Jun 06, 2016 3:28 pm
by hsmith
Something similar to this will probably do it, depending on how NRPE was installed.

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H somehost -c check_services -a 'apache2'
or

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H somehost -c check_init_service -a 'apache2'

Re: How to monitor Linux processes with NRPE?

Posted: Tue Jun 07, 2016 2:01 pm
by dlukinski
hsmith wrote:Something similar to this will probably do it, depending on how NRPE was installed.

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H somehost -c check_services -a 'apache2'
or

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H somehost -c check_init_service -a 'apache2'
Thank you,
Please close

Re: How to monitor Linux processes with NRPE?

Posted: Tue Jun 07, 2016 2:07 pm
by mcapra
Closing this!