Page 3 of 3

Re: Monitor the process containing space in the process name

Posted: Tue Aug 14, 2018 6:05 pm
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!

Re: Monitor the process containing space in the process name

Posted: Wed Aug 15, 2018 2:04 pm
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

Re: Monitor the process containing space in the process name

Posted: Wed Aug 15, 2018 5:17 pm
by xlin125
@scottwilkerson: THANKS!

Re: Monitor the process containing space in the process name

Posted: Thu Aug 16, 2018 8:18 am
by scottwilkerson
xlin125 wrote:@scottwilkerson: THANKS!
No problem best of luck!