I believe that means the device didn't return a value for the oid you polled. From a unix box, can you do an snmpwalk on that value? Ie:
snmpwalk -c <read string> -v 1 <ip address> .1.3.6.1.2.1.25.1.5.0 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Macleod-Brown Sent: Wednesday, August 03, 2005 10:10 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [mrtg] SNMP I currently use MRTG to successfully monitor 73 switches/routers on our network. I am trying to add monitors for 60 Cisco 350 wireless access points using SNMP to graph the number of connected users. I cant see what Im doing wrong and was wondering if anyone else had managed to get this working? I found the following suggested config file on the Somis site.... Target[$CFGNAME]: 1.3.6.1.2.1.25.1.5.0&1.3.6.1.2.1.25.1.5.0:[EMAIL PROTECTED] MaxBytes[$CFGNAME]: $MAX kMG[$CFGNAME]: ,M,,, Options[$CFGNAME]: gauge, nopercent, absolute, unknaszero YLegend[$CFGNAME]: Users Attached ShortLegend[$CFGNAME]: Users Attached WithPeak[$CFGNAME]: wmy Colours[$CFGNAME]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff Legend1[$CFGNAME]: Number of Users Attached Legend2[$CFGNAME]: . Legend3[$CFGNAME]: Peak Number of Users Attached Legend4[$CFGNAME]: . LegendI[$CFGNAME]: Users: LegendO[$CFGNAME]: . Title[$CFGNAME]: $DEVICE PageTop[$CFGNAME]: <H1>$DEVICE</H1> Which I then edited to reflect our network settings WorkDir: /var/www/html/mrtg/wireless rkDir: /var/www/html/mrtg/wireless Target[SNAP-WAT1-T3]: 1.3.6.1.2.1.25.1.5.0&1.3.6.1.2.1.25.1.5.0:[EMAIL PROTECTED] MaxBytes[SNAP-WAT1-T3]: 10000 kMG[SNAP-WAT1-T3]: ,M,,, Options[SNAP-WAT1-T3]: gauge, nopercent, absolute, unknaszero YLegend[SNAP-WAT1-T3]: Users Attached ShortLegend[SNAP-WAT1-T3]: Users Attached WithPeak[SNAP-WAT1-T3]: wmy Colours[SNAP-WAT1-T3]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff Legend1[SNAP-WAT1-T3]: Number of Users Attached Legend2[SNAP-WAT1-T3]: . Legend3[SNAP-WAT1-T3]: Peak Number of Users Attached Legend4[SNAP-WAT1-T3]: . LegendI[SNAP-WAT1-T3]: Users: LegendO[SNAP-WAT1-T3]: . Title[SNAP-WAT1-T3]: $SNAP-WAT1-T3 PageTop[SNAP-WAT1-T3]: <H1>SNAP-WAT1-T3</H1> Directory[SNAP-WAT1-T3]: wat1-t3 Which gives me the following error when I run MRTG, Im stumped, I don't know where to look, googling has not helped, Im happy to read up, but could do with a few pointers to point me in the right direction, as I don't understand the error message, eg '::v4only' - I though SNMP had only 2 versions! If anyone who understands how this works can help I'd be very grateful!!! SNMP Error: Received SNMP response with error code error status: noSuchName index 1 (OID: 1.3.6.1.2.1.25.1.5.0) SNMPv1_Session (remote host: "163.119.174.205" [163.119.174.205].161) community: "admin" request ID: 1576016828 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/bin/../lib/mrtg2/SNMP_util.pm line 487 SNMPGET Problem for 1.3.6.1.2.1.25.1.5.0 1.3.6.1.2.1.25.1.5.0 sysUptime sysName on [EMAIL PROTECTED]::::::v4only at /usr/bin/mrtg line 1836 ERROR: Target[163.119.174.205][_IN_] ' $target->[0]{$mode} ' did not eval into defined data ERROR: Target[163.119.174.205][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data Martin Network Project Engineer, Information Systems Division London Business School, Sussex Place, Regents Park, London. NW1 4SA t: +44 (0)20 7000 7772 direct +44 (0)20 7262 5050 general fax: +44 (0)20 7000 7771 direct +44 (0)20 7724 7875 general e: mailto:[EMAIL PROTECTED] http://www.london.edu/technology/ -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
