check_procs problem

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.
AnotherNagiosUser
Posts: 19
Joined: Tue Feb 26, 2019 4:51 am

Re: check_procs problem

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_procs problem

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
AnotherNagiosUser
Posts: 19
Joined: Tue Feb 26, 2019 4:51 am

Re: check_procs problem

Post 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! :)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_procs problem

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked