Cheshire Cat Computing
http://www.steveshipway.org/forum/

Help with OID Graph Creation
http://www.steveshipway.org/forum/viewtopic.php?f=2&t=104
Page 1 of 1

Author:  mcotrone@netdsi.com [ Mon Jan 05, 2004 11:45 am ]
Post subject:  Help with OID Graph Creation

I have successfully created a graph that will gather the available free memory from a Cisco Router/LAN Switches.

I am now trying to create graphs based on an VOIP H323 Call Leg and a Telephony Call Leg. I want to trend inbound vs. outbound VOIP calls.

Outbound to the PSTN 1.3.6.1.4.1.9.9.63.1.3.1.1
Inbound from the PSTN 1.3.6.1.4.1.9.9.63.1.3.2.1

I get this everytime I try to run the perl mrtg master.cfg

C:\mrtg-2.10.11\bin>perl mrtg master.cfg
Daemonizing MRTG ...
Do Not close this window. Or MRTG will die
ERROR: Target[10.10.254.254_call][_IN_] ' $target->[28]{$mode} ' did not eval into defined data
ERROR: Target[10.10.254.254_call][_OUT_] ' $target->[28]{$mode} ' did not eval into defined data

I am not really sure what is up here except for the fact it appears with the mode the script is in the data is not being understood from the Cisco router?

Here is my test info from my router.cfg file

# Monitor Inbound/Outbound Voice Call
Target[10.10.254.254_CALL]: 1.3.6.1.4.1.9.9.63.1.3.0&1.3.6.1.4.1.9.9.63.1.3.0:datanet@10.10.254.254:::::2
MaxBytes[10.10.254.254_CALL]: 1000
UnScaled[10.10.254.254_CALL]: dwm
Options[10.10.254.254_CALL]: gauge integer nopercent
Title[10.10.254.254_CALL]: Inbound/Outbound Voice Calls
PageTop[10.10.254.254_CALL]: <H1>Voice Calls</H1>
routers.cgi*Mode[10.10.254.254_CALL]: generic
routers.cgi*Icon[10.10.254.254_CALL]: phone-sm.gif
Background[10.10.254.254_CALL]: #ffffff

Any tips are appreciated since this is my first target that doesn't involve a scale on Bytes but on an Integer.


Thanks Much in Advance.
Mike

Author:  stevesh [ Mon Jan 05, 2004 2:50 pm ]
Post subject: 

(This is really a MRTG issue)

From the error message, it looks as if MRTG is not receiving a number from the SNMP query. Either your SNMP agent does not support this OID, or it is the wrong OID, or the device is not responding, or it is returning the wrong data type. I would suggest you use SNMPwalk (or a similar command) to check that the device is returning data for this community and OID.

Steve

Author:  mcotrone@netdsi.com [ Wed Jan 07, 2004 4:24 am ]
Post subject: 

Steve,

Thank you. I did have an incomplete OID. I downloaded the Solarwinds MIB Browser and it helped 100%.

Thank you again.
Mike

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/