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.
I am using a Linux Cacti installation and I want to monitor the concurrent use of specific applications (processes) for a number of Windows servers.
I know how to get the number of processes and the name of the processes polling the SNMP OID's, eg. number of processes from OID 1.3.6.1.2.1.25.1.6.0 and the name of the processes from OID: 1.3.6.1.2.1.25.4.2.1.2.x
I don't know how to make a script (PHP or bash) which returns the number of instances running for a given process (e.g. excel.exe).
I have searched through all the plugins but couldn't find a suitable plugin.
Has anyone a suggestion?
The base idea would be to run an snmpwalk against the OID from above and filter output for "excel.exe", then count the lines. Spit them out to make cacti catch the number.
Does not seem to be that complicated
Reinhard
Agreed. But my php is not so good. I was hoping someone made something which does the job.
I read the standard win_services.xml and win_services.php files and I know the principles but i am not able to modify this script to get what i want.
What's your favorite programming language, then? Anybody in your shop who's able to do the job? Cacti will accept virtually any programming language.
Reinhard