How to monitor Linux processes with NRPE?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

How to monitor Linux processes with NRPE?

Post by dlukinski »

Hello XI support

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

Thank you
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to monitor Linux processes with NRPE?

Post 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'
Former Nagios Employee.
me.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: How to monitor Linux processes with NRPE?

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: How to monitor Linux processes with NRPE?

Post by mcapra »

Closing this!
Former Nagios employee
https://www.mcapra.com/
Locked