Hello Paessler Support and kb-members, i try to monitor multiple java processes and want to list them one-by-one. The initial situation is that i got three java processes but all of them use different parameters. In general i monitor them by adding the java proc in my snmpd.conf but the problem is that i can't seperate them in the PRTG monitoring. If i use a Basic Linux Library Sensor i get the known "processes count" or "error flags" as given options but i want to have an own sensor for each of the three java processes.
Does anybody know or have hints on how to name the procs in the snmpd.conf correctly to create a sensor for each java process? I already tried to insert the whole path of the java process as well as some parameters that were given.
Thank you. Greetings, Martin
Article Comments
I have the same requirement (monitor multiple java processes on Linux). I tried your approach but then the problem is that PRTG allows only one SNMP port per device. However each JVM instance would require its own port so that's not practical (would require multiple device clones?). Correct?
May, 2017 - Permalink
The only viable option here would be to run each process in their own JVM instance and use the built-in SNMP server. Then use the JVM MIB with our SNMP Library Sensor and you should be all set.
Let me know if you're stuck anywhere :)
May, 2017 - Permalink