Monitor the process containing space in the process name

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

Re: Monitor the process containing space in the process name

Post by xlin125 »

So, the INTEGER 4 is invalid, and the valid INTEGER should be either 1 or 2? Is a runnable(2) state referred to INTEGER 2, and running(1) state referred to INTEGER 1? In this case, all the Pronghorn processes are in a runnable(2) or running(1) state, but they all have INTEGER 4, so this is the issue of not finding the Pronghorn processes (or finding 0 process). Is there a solution to resolve this issue to match a Pronghorn process so that we can use check_snmp_process_wizard.pl or a Nagios plugin to monitor these "special" processes? Again, thanks for the help!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor the process containing space in the process name

Post by scottwilkerson »

Being these are returning 4 as the run state I would guess you would have to write a custom plugin to monitor them as the current plugin isn't going to work

Here are the Nagios Plugin Development Guidelines
https://nagios-plugins.org/doc/guidelines.html
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

Re: Monitor the process containing space in the process name

Post by xlin125 »

@scottwilkerson: THANKS!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor the process containing space in the process name

Post by scottwilkerson »

xlin125 wrote:@scottwilkerson: THANKS!
No problem best of luck!
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked