Page 1 of 1

Trouble monitoring Cisco router

Posted: Fri Sep 20, 2013 11:43 am
by c6391925
Hello,

I tried monitoring a Cisco Router, the wizzard recommended the following command. Please see results below:

[root@DXLVMMOM2 snmp]# cfgmaker --show-op-down --zero-speed=100000000 --snmp-options=:::::1 --noreve rsedns [email protected]
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.194.96.254" [10.194.96.254].161)
community: "public"
request ID: -1184238660
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on [email protected]:::::1:v4only
at /usr/bin/cfgmaker line 950
WARNING: Skipping [email protected]:::::1 as no info could be retrieved

# Created by
# /usr/bin/cfgmaker --show-op-down --zero-speed=100000000 --snmp-options=:::::1 --noreversedns [email protected]


### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System:
# Description:
# Contact:
# Location:
######################################################################

Re: Trouble monitoring Cisco router

Posted: Fri Sep 20, 2013 11:49 am
by sreinhardt
Lets start with two things. 1) If you are using XI, please do not unless absolutely necessary use cfgmaker individually. We provide the network switch\router wizard that will do all of this for you! 2) Are you certain that snmp is available on that system, it seems to be stating that it did not retrieve any data back from the cisco device.

Code: Select all

nmap -sU -p 161 [Host\IP]

Re: Trouble monitoring Cisco router

Posted: Fri Sep 20, 2013 12:19 pm
by c6391925
Hi Spenser,

The Monitoring wizzard is what suggested the cfgmaker command.
http://imgur.com/PEMcHbS
But I will avoid it going forward, thanks for the info.

trying your command:

Code: Select all

[root@DXLVMMOM2 lg]# nmap -sU -p 161 10.194.96.254

Starting Nmap 5.51 ( http://nmap.org ) at 2013-09-20 12:04 CDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.29 seconds

[root@DXLVMMOM2 lg]# nmap -Pn -p 161 10.194.96.254

Starting Nmap 5.51 ( http://nmap.org ) at 2013-09-20 12:05 CDT
Nmap scan report for rt396501.stores.corp.msi.xxxxxxxx.com (10.194.96.254)
Host is up.
PORT    STATE    SERVICE
161/tcp filtered snmp

Nmap done: 1 IP address (1 host up) scanned in 2.10 seconds
[root@DXLVMMOM2 lg]#
No, I have no idea if SNMP is available on these routers... or if they use non-standard ports. I will ask around.

Thanks for your help!

gl

Re: Trouble monitoring Cisco router

Posted: Fri Sep 20, 2013 1:11 pm
by sreinhardt
You are welcome, yep the filtered on that second nmap scan, needs to show open and no filtered at all. At this point, that would be the issue, not to say we will not run into anything in the future.