|
From: Schwimmer, E. E *H. <EE...@hs...> - 2006-03-09 14:32:10
|
Weird. Can you zip/tar the template up and send it to me?
ee...@vi...
-Eric Schwimmer
Network Engineer
UVA HSCS Network Engineering =20
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of joh...@on...
> Sent: Thursday, March 09, 2006 9:19 AM
> To: dev...@li...
> Subject: RE: [Devmon] Undefined in the ifAliasbox field
>=20
> This is the content of the transforms file:
>=20
> # Create a human-readable ifc speed
> ifSpeed : SPEED : {ifBps}
> # Get bit speed delta (so we dont have to provide custom delta limit)
> ifInOps : DELTA : {ifInOctets}
> ifOutOps : DELTA : {ifOutOctets}
> # Convert our octets delta into bits per second
> ifInBps : MATH : {ifInOps} x 8
> ifOutBps : MATH : {ifOutOps} x 8
> # Make some easily readable speed variables
> ifInSpeed : SPEED : {ifInBps}
> ifOutSpeed : SPEED : {ifOutBps}
> # Now determine our percentage load, based on traffic and ifc speed
> ifInLoad : MATH : ({ifInBps} / {ifBps}) x 100
> ifOutLoad : MATH : ({ifOutBps} / {ifBps}) x 100
> # Create an alias in a bracketed box, or nothing if alias is blank
> ifAliasBox : REGSUB : {ifAlias} /(\S+.*)/ [$1]/
>=20
>=20
>=20
> >>It looks like Devmon still isnt able to query the ifAlias field.
> >>As to the ifAliasBox errors, is there still an REGSUB transform
> >>for ifAliasBox in your transforms file?
> >>
> >>-Eric
>=20
>=20
> >> -----Original Message-----
> >> From: dev...@li...=20
> >> [mailto:dev...@li...] On Behalf=20
> >> Of joh...@on...
> >> Sent: Wednesday, March 08, 2006 4:51 AM
> >> To: dev...@li...
> >> Subject: [Devmon] Undefined in the ifAliasbox field
> >>=20
> >> Hi,
> >>=20
> >> on a cisco 6506 and 4003 running CatOS I have problems to get=20
> >> the ifAlias filled.
> >> The OID for this is ifAlias: .1.3.6.1.4.1.9.5.1.4.1.1.4
> >>=20
> >> This is in my oids-file:
> >>=20
> >> ifName : .1.3.6.1.2.1.31.1.1.1.1 : branch
> >> #ifAlias : .1.3.6.1.2.1.31.1.1.1.18 : branch
> >> ifAlias : .1.3.6.1.4.1.9.5.1.4.1.1.4 : branch
> >> ifBps : .1.3.6.1.2.1.2.2.1.5 : branch
> >> ifInOctets : .1.3.6.1.2.1.2.2.1.10 : branch
> >> ifOutOctets : .1.3.6.1.2.1.2.2.1.16 : branch
> >>=20
> >> Running a snmpwalk manually returns the correct values.=20
> >> Putting this OID in the oids-template I got this in the devmon.log:
> >>=20
> >> [06-02-27@16:58:25] No SNMP data found for ifAlias on CBS002
> >> [06-02-27@16:58:25] Missing primary oid data for trans_regsub=20
> >> on ifAliasBox
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in=20
> >> /bbserv/devmon//templates/cisco-4003/if_err/thresholds at line 7
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in=20
> >> /bbserv/devmon//templates/cisco-4003/if_err/thresholds at line 7
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in=20
> >> /bbserv/devmon//templates/cisco-4003/if_err/thresholds at line 7
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in=20
> >> /bbserv/devmon//templates/cisco-4003/if_err/thresholds at line 7
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' at line 8 of=20
> >> /bbserv/devmon//templates/cisco-4003/if_err/message, skipping=20
> >> this test.
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' at line 5 of=20
> >> /bbserv/devmon//templates/cisco-4003/if_load/message,=20
> >> skipping this test.
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' at line 3 of=20
> >> /bbserv/devmon//templates/cisco-4003/if_stat/message,=20
> >> skipping this test.
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in=20
> >> /bbserv/devmon//templates/cisco-4003/if_dsc/thresholds at line 6
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in=20
> >> /bbserv/devmon//templates/cisco-4003/if_dsc/thresholds at line 6
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in=20
> >> /bbserv/devmon//templates/cisco-4003/if_dsc/thresholds at line 6
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' referenced in=20
> >> /bbserv/devmon//templates/cisco-4003/if_dsc/thresholds at line 6
> >> [06-02-27@17:03:12] Undefined oid 'ifAliasBox' at line 8 of=20
> >> /bbserv/devmon//templates/cisco-4003/if_dsc/message, skipping=20
> >> this test.
> >> [06-02-27@17:08:25] No SNMP data found for ifAlias on CBS002
> >> [06-02-27@17:08:25] No SNMP data found for ifAlias on CBS002
> >> [06-02-27@17:08:25] No SNMP data found for ifAlias on CBS002
> >>=20
> >> On the web-page I have this result (the ifAliasBox is not defined):
> >>=20
> >> 3/1Undefined 1.00 Gbps green 1.15 Mbps (0.12%) green=20
> >> 4.08 Mbps (0.41%)
> >>=20
> >> How can I make this work?
> >>=20
> >> Regards
> >> Johann
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking=20
> scripting language
> that extends applications into web and mobile media. Attend=20
> the live webcast
> and join the prime developer group breaking into this new=20
> coding territory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&
> dat=3D121642
> _______________________________________________
> Devmon-support mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devmon-support
>=20
|