Discussion:
SNMP Agent Down issue
Yasha Zislin
2013-05-09 15:09:42 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"SNMP Agent Down issue"

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

--------------------------------------------------------------
I have a weird issue with one of my device types (ie linux based firewall).
When I restart SNMP service on the firewall, I start getting these two errors in Zenoss:
SNMP agent down - no response received.
Unable to read processes on device XXXXX; Timeout on device.

When I check the status of the device in Zenoss, everything seems to be ok. I can do a snmpwalk, modeling. There are no red lights. The only thing I've noticed is that device performance data is not being collected.

To fix this, I restart zenperfsnmp and zenprocess daemons and these two errors go away and data starts to be collected.
I dont want to do that every time I do maintenance on a firewall.

I tried running zenperfsnmp with debugging enabled just to that device. I did not see any errors.Everything was processed and retreived.

Any ideas? or can somebody point me in the right direction for troubleshooting this?

Thank you .
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-05-10 20:43:56 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: SNMP Agent Down issue"

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

--------------------------------------------------------------
Yasha:

Try reducing the zMaxOids property. Some devices exhibit this problem when zenperfsnmp hits them with batches that are too large.

Best,
--Shane Scott (Hackman238)
http://www.linkedin.com/in/shanewilliamscott/ http://www.linkedin.com/in/shanewilliamscott/
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Yasha Zislin
2013-05-13 16:44:55 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: SNMP Agent Down issue"

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

--------------------------------------------------------------
By default zMaxOids is set to 40 (as I remember correctly). I've tried setting this to 20 and no luck.
The monitoring of the device works just fine until you restart SNMP service on the device.
So i dont think it is the issue with zMaxOids.
Something happens to zenperfsnmp when SNMP gets restarted on the device.
The only way to fix that is to restart zenperfsnmp.

Any more ideas?

Thanks.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-05-13 18:15:26 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: SNMP Agent Down issue"

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

--------------------------------------------------------------
Yasha:

That's a very odd problem. I'm almost thinking stick zenperfsnmp in debug mode then bounce the device to see if there's anything interesting in the zenperfsnmp log.

--Shane Scott (Hackman238)
http://www.linkedin.com/in/shanewilliamscott/ http://www.linkedin.com/in/shanewilliamscott/
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Yasha Zislin
2013-05-13 20:24:33 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: SNMP Agent Down issue"

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

--------------------------------------------------------------
Here is what I've tried with debug mode.
I've restarted SNMP on the device to get these two alerts to come up.
Then I went to console session of Zenoss (ie ssh) and ran zenperfsnmp -run with debug mode.
After a lengthy printout, it said everything was retrieved successfully. I did not see any errors.

Is there a difference how daemon version of zenperfsnmp runs vs how I did a test run?
Or what parameters does zenperfsnmp daemon version uses on startup/or restart?

Thanks Shane.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-05-13 20:31:50 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: SNMP Agent Down issue"

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

--------------------------------------------------------------
Yasha:

No differnce.

--Shane Scott (Hackman238)
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Yasha Zislin
2013-05-13 21:31:38 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: SNMP Agent Down issue"

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

--------------------------------------------------------------
I see.

Question.
What command does Zenoss use to collect perf data for specific OID?

thanks.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-05-13 21:35:36 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: SNMP Agent Down issue"

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

--------------------------------------------------------------
Yasha,

It doesn't execute anything external. zenperfsnmp performs all the tests using a python snmp module. The only bit that calls an external application would be from the 'Commands' menu -> snmpwalk' which just shell executes snmpwalk for the user.

--Shane Scott (Hackman238)
--------------------------------------------------------------

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

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