cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
684
Views
0
Helpful
1
Replies

Trouble with SNMP Monitoring

Bobbytt10
Level 1
Level 1

I am currently trying to set up nagios to monitor SNMP traps and to pull CPU information off of my 2610XM and am having NO Luck.

I have tried to enable every snmp-trap known to man, however when I do an snmpwalk from my server, I am not seeing the following OIDs that I need to see. Can anybody help me?

I am positive of the following

-SNMP community strings match

-SNMP configured to go to the nagios host

What command needs to be entered to send the below OIDS? And If I enter that command and they aren't showing up, what could a possible reason of why they aren't showing up be?

$oid_sysDescr = ".1.3.6.1.2.1.1.1.0";

$oid_cpu5min = "1.3.6.1.4.1.9.2.1.58.0";

$oid_tempState = "1.3.6.1.4.1.9.9.13.1.3.1.6.1";

Router#show version

Cisco IOS Software, C2600 Software (C2600-IPBASEK9-M), Version 12.4(12), RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2006 by Cisco Systems, Inc.

Compiled Fri 17-Nov-06 11:18 by prod_rel_team

ROM: System Bootstrap, Version 12.2(7r) [cmong 7r], RELEASE SOFTWARE (fc1)

Router uptime is 5 minutes

System returned to ROM by reload

System image file is "flash:c2600-i9-mz.124-12.bin"

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

Cisco 2610XM (MPC860P) processor (revision 1.0) with 127627K/3445K bytes of memory.

Processor board ID JAE073419B8

M860 processor: part number 5, mask 2

1 FastEthernet interface

2 Serial interfaces

32K bytes of NVRAM.

32768K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

The OID for sysDescr is correct. You should be able to poll that assuming the community string is correct.

The oid for avgBusy5 is also correct, but this object is deprecated. While it should work, you might try .1.3.6.1.4.1.9.9.109.1.1.1.1.8.1 instead.

Provided the 2610XM has the necessary hardware (I know a 2620 does), the OID for ciscoEnvMonTemperatureState is also correct.

Now, be aware that none of these are traps. Nagios would need to POLL these objects via standard SNMP polling. There is a trap which will contain ciscoEnvMonTemperatureState, but only if there is a change in the temperature state (e.g. if the temperature goes from normal to critical). To enable that trap, you would need:

snmp-server enable traps envmon