Discussion:
How to monitor snmpd process?
aletatone
2011-10-04 07:18:23 UTC
Permalink
aletatone [http://community.zenoss.org/people/aletatone] created the discussion

"Re: How to monitor snmpd process?"

To view the discussion, visit: http://community.zenoss.org/message/61671#61671

--------------------------------------------------------------
understood...

but is there any way (zenpack, plug-in or personal script) to ask zenoss to check port 161?

thanks :)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/61671#61671]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2011-10-04 11:34:39 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: How to monitor snmpd process?"

To view the discussion, visit: http://community.zenoss.org/message/61674#61674

--------------------------------------------------------------
Sure - you could use a command datasource and your own scripting to come up with a way ranging from an SSH login and a netstat | grep | blah to get what you want to something like nmap or the like hitting port 161...

--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/61674#61674]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
aletatone
2011-10-11 09:12:17 UTC
Permalink
aletatone [http://community.zenoss.org/people/aletatone] created the discussion

"Re: How to monitor snmpd process?"

To view the discussion, visit: http://community.zenoss.org/message/61786#61786

--------------------------------------------------------------
how does  "snmp agent is down" works?
I mean why I see this alarm from same Linux Servers and not from other?

I expect to see this alarm any time and from any server where I shoot down snmpd process, isn't it?

Thanks
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/61786#61786]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mwcotton
2011-10-11 20:59:02 UTC
Permalink
mwcotton [http://community.zenoss.org/people/mwcotton] created the discussion

"Re: How to monitor snmpd process?"

To view the discussion, visit: http://community.zenoss.org/message/61806#61806

--------------------------------------------------------------
I have never really understood how the "snmp agent is down" is created but from my experiance it is reliable.

Can any zenoss folks explain how the "snmp agent is down" is created?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/61806#61806]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
aletatone
2011-10-12 09:25:28 UTC
Permalink
aletatone [http://community.zenoss.org/people/aletatone] created the discussion

"Re: How to monitor snmpd process?"

To view the discussion, visit: http://community.zenoss.org/message/61811#61811

--------------------------------------------------------------
I think that snmp agent down is generated by this:

| | def updateStatus(self, deviceName, success, eventCb): |
|     | """ |
|     | Send up/down events based on SNMP results |
|     | """ |
|     | if success: |
|         | if self.count > 0: |
|             | summary='SNMP agent up' |
|             | eventCb(self.snmpStatusEvent, |
|                     | device=deviceName, summary=summary, |
|                     | severity=Event.Clear) |
|             | log.info("%s %s" % (deviceName, summary)) |
|         | self.count = 0 |
|     | else: |
|         | summary='SNMP agent down' |
|         | eventCb(self.snmpStatusEvent, |
|                 | device=deviceName, summary=summary, |
|                 | severity=Event.Error) |
|         | log.warn("%s %s" % (deviceName, summary)) |
|         | self.count += 1 |

in this file: Products/ZenRRD/zenperfsnmp.py

I don't know how "success" is define and I don't know why it
is not working in my system... i installed another Zenoss (for testing) in another
server and it works fine...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/61811#61811]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2011-10-12 12:30:05 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: How to monitor snmpd process?"

To view the discussion, visit: http://community.zenoss.org/message/61817#61817

--------------------------------------------------------------
I suppose I'd look at the difference in configurations between the working and non working installs... I'd probably guess that you've got an errant event transform somewhere...

--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/61817#61817]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
aletatone
2011-10-18 15:20:06 UTC
Permalink
aletatone [http://community.zenoss.org/people/aletatone] created the discussion

"Re: How to monitor snmpd process?"

To view the discussion, visit: http://community.zenoss.org/message/61897#61897

--------------------------------------------------------------
I looked my transform and I didn't find anything that could help me... :( but now i don't care about it.

Anyway does anyone know how zenoss generates "snmp agent is down" alarm?

Thanks a lot
Ale
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/61897#61897]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mwcotton
2011-10-12 21:10:18 UTC
Permalink
mwcotton [http://community.zenoss.org/people/mwcotton] created the discussion

"Re: How to monitor snmpd process?"

To view the discussion, visit: http://community.zenoss.org/message/61826#61826

--------------------------------------------------------------
Interesting sorta looks like if *anything* is returned by the snmp query, its considered up.
thanks, I have never seen that before.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/61826#61826]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...