...
This appears to be because it's reading /proc/$PID/stat and simply splitting on space and then grabbing the third element,
which would normally be the process status, but when the process name contains a space, this is no longer true.
Code Block |
---|
snmpwalk -v 2c -c nmisGig8 127.0.0.1 1.3.6.1.2.1.25.4.2.1.7
HOST-RESOURCES-MIB::hrSWRunStatus.3253 = INTEGER: invalid(4) |
A consequence of this issue is that NMIS will report a monitored service as 'down' when it is 'running' if the process name contains a space.