Page 1 of 1

Monitor Linux server service stop and start status.

Posted: Fri May 01, 2020 3:03 pm
by capricorn80
Hi!

How can I monitor start or stop status running on linux?

Thanks

Re: Monitor Linux server service stop and start status.

Posted: Fri May 01, 2020 4:54 pm
by ssax
The easiest way would be for you to enable SNMP and then setup SNMP monitoring.

I'd probably recommend you use our cross platfrom agent NCPA as it gives you a lot more flexibility (to run plugins, has built in checks/plugins, an API, etc):

https://www.nagios.org/ncpa/

Is this regarding Core or XI?

Here are some good examples either way:

https://support.nagios.com/kb/category.php?id=186

Re: Monitor Linux server service stop and start status.

Posted: Fri May 01, 2020 5:45 pm
by capricorn80
Its core.

I did that with nrpe and check_procs long time ago but dont recall it now.

Re: Monitor Linux server service stop and start status.

Posted: Mon May 04, 2020 4:38 pm
by benjaminsmith
Hi,

Take a look at the following knowledgebase article, there are a number of helpful examples of using check_proc and snmp.

https://support.nagios.com/kb/article/p ... s-782.html