Hey Admins - Please excuse my ignorance in advance.. I sort of jumped into this fire and am learning as I go. My realm is Windows SysAdmin, but I'm trying to pick up some Linux work as it becomes available to me. That being said, I'm looking for some help with an entry in my snmpd.conf file for a process that I'm trying to monitor. There are two processes that I've entered into the conf file. Using our Net Monitor, I see the process running for my first entry, but the second entry reports that that service is not running. The second proc entry (and I've tried every variation I cant think of in modifying the syntax) always reports '0' where I'm expecting to see a result of '1'
The contents of my snmpd.conf file.....
rocommunity test proc testadapter -s 1000 proc /usr/bin/python /db1/name/watch.py boot
When I issue...
ps -ef | grep watch.py
It returns /usr/bin/python /db1/name/watch.py boot so that's what I've put into my conf file
I've tried using an escape to reflect the space between the two paths and before the 'boot' but that hasn't work either.
I've gone back through the snmpd.conf man page and it's just not sinking in for me. I've tried searching for snmpd.conf examples where a process being monitored actually involves two processes.. and since I've been unsuccessful, I'm wondering if this just isn't feasible.
So I suppose my question is, can I even monitor the 'watch.py' process? Is there an issue because it's invoked via python? Or is my syntax totally wrong?
I appreciate any help or suggestions - please send them my way! :)
[link][3 comments]