I´m migrating from nagios and I´ve managed to move some checks to APM and the "Process Monitor - SNMP". This component monitor does only monitor the process name and can´t handle the process parameters, for example I have 5 java processes but with different parameter like:
/usr/bin/java --server=srv1 --someotherparam
/usr/bin/java --server=srv2 --someotherparam
This is easily done in nagios but I can´t find a good way to do this in Orion NPM.
(Note: I´m not allowing SSH to my servers, only snmp for security reasons)
I´ve been researching:
1) Process Monitor - SNMP: doesn´t handle process parameters
2) Create a universal device poller for each process to poll the HOST-RESOURCES-MIB::hrSWRunName hrSWRunParameters. Only one OID can be polled and + alerted however in Orion so this approach can´t be used since hrSWRunName and hrSWRunParameters has different OIDs.
3) Add the processes as PROC directives in snmpd.conf and send snmp traps if a process goes down.
Too much administrative work since different conf files on each server, hard to maintain.
4) Create a custom component monitor by copying the "Process Monitor - SNMP" and customizing it. Looks like this isn´t supported...(?). Could be an option if I knew how ...
Maybe I´m missing something since I´m quite new to Orion but how is this done best with SNMP?
Thanks for any help ...