snarkout wrote:
> I'm fairly sure (read not certain, just relaying my experience) that the 
> template itself is what needs the name "cpmCPUTotal5minRev" with the data 
> sources being the appropriate OIDs - right now you have a value 
> "cpmCPUTotal5minRev" and you're trying to match it against "IOS" if I 
> understand what's happening correctly.  Since you have a mixed environment, 
> the easiest way to deal with this would be create separate device classes for 
> IOS and CatOS (like /network/switch/cisco/IOS), move the appropriate devices 
> to each class (maybe test with a singe device first?), and apply the 
> templates there, locally.  At least this is what I've done in a number of 
> situations I've had similar issues - there may be a more elegant way to do 
> this, but if there is, I haven't found it.  You may need to re-rm your pickle 
> files - I tend to do this out of habit at this point since they have caused 
> me so much trouble in the past.
> 
> As always, YMMV, just my .02, IANAL, etc.


snarkout, In researching this error I've noticed that you've responded a lot on 
these types of issues..  Thanks for the prompt reply, I appreciate your input.

I already have the device classes laid out as you mentioned (i.e. 
/network/switch/cisco/IOS and /network/switch/cisco/CatOS).  I renamed the 
template to cpmCPUTotal5minRev  and bound it to the IOS device class.  Then I 
restarted zenoss completely.  Upon startup I still get the same error:

> 2008-04-16 10:35:28 WARNING zen.zenperfsnmp: Error reading value for 
> "cpmCPUTotal5minRev" on hostname (oid .1.3.6.1.4.1.9.9.109.1.1.1.1.8 is bad)

I get this for all of my IOS routers.  The same goes if I create a specific 
template for the CatOS device class called cpmCPUTotal5min or avgBusy5 based on 
the appropriate oid.  

I would find it very odd that you have name the template the same as the snmp 
ObjectName as it doesn't appear the default "Device" templates or any of the 
other included templates are named this way.  Also, it would make it impossible 
to include more than one object in a single graph.  

I remember a post from cluther in which he mentioned naming the template after 
the "type" of object.  Perhaps, he was talking about something else than the 
snmp object?  Unfortunately, I can't seem to find the post now when searching.

Perhaps there's a bug in the 2.1.3 release?  I dunno, in all likelihood I've 
misread or overlooked something.   If you or anyone else has any other 
suggestions I'm all ears.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=18590#18590

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to