Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
That's the interesting stuff. You will need to write down the OID. Run snmpwalk using the option -On to find OIDs. Then see first link of my signature. Scroll down to SNMP stuff and use the example by simply replacing the OID with the one you've found above.
This will work if sequence of proc statements in snmpd.conf is left unchanged
Reinhard
so my oid to count number process gthum is :.1.3.6.1.4.1.2021.2.1.5.2
Look screen ettachment
and know i stay for graph and after i hope it's works
do you know another technique to add oid on graph beacause with this technique i have only one oid graph i don't add another generic oid snmp?
Attachments
The final graph
06.jpg (29.48 KiB) Viewed 13532 times
well i create a Graph like this :
04.jpg (104.19 KiB) Viewed 13535 times
Well i write this my oid!
05.jpg (68.7 KiB) Viewed 13535 times
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
I still do not get how you can monitor one process @ unix by name.
My thoughts:
Need to get the hrSWRunName table and filter for (example) "apache2".
Get the hrSWRunStatus table and compare the OIDs (pids) to get (only) the status of all apache2 processes.
Get all the apache2 process status as multiple Integers 1 to 4.
Last step would be that cacti should graph those with "1", "2" as running and "3", "4" as Problem/Down.
I really really dont know how to get this into a script for cacti