Page 2 of 2

Re: check_procs problem

Posted: Tue Mar 26, 2019 11:07 am
by AnotherNagiosUser
scottwilkerson wrote:I just re-looked at your command on NRPE and it would need to be the following and then restart NRPE

Code: Select all

command[check_procs]=/usr/local/nagios/libexec/check_procs $ARG1$
Thanks works now!

If I was to change this and use check_service, would I be going down the writing or finding a plugin route? Everything I've seen with check_service mentions plugins.

Re: check_procs problem

Posted: Tue Mar 26, 2019 11:14 am
by scottwilkerson
AnotherNagiosUser wrote:If I was to change this and use check_service, would I be going down the writing or finding a plugin route? Everything I've seen with check_service mentions plugins.
that would be correct. Additionally you often have to add sudoers permissions to the plugin for checking services.

Re: check_procs problem

Posted: Tue Mar 26, 2019 11:20 am
by AnotherNagiosUser
scottwilkerson wrote:
AnotherNagiosUser wrote:If I was to change this and use check_service, would I be going down the writing or finding a plugin route? Everything I've seen with check_service mentions plugins.
that would be correct. Additionally you often have to add sudoers permissions to the plugin for checking services.
Well I guess that's what I've got to learn next! :)

Re: check_procs problem

Posted: Tue Mar 26, 2019 11:42 am
by scottwilkerson
AnotherNagiosUser wrote: Well I guess that's what I've got to learn next! :)
Good luck!
https://nagios-plugins.org/doc/guidelines.html

Locking topic as resolved