Hey Dave,

Here's a simple thing to check: are you ending your OIDs in your config with .0?
That's what's coming back from the walk.

If you get really stuck, do this:

   $ strace -s 10000 zenperfsnmp run -v 10 -d my-router 2>/tmp/trace
   $ gzip /tmp/trace

And then send /tmp/trace to me (off list). That will tell me what's going on from a config and packet level. It will also contain passwords, community strings and the like, so make all those generic.

Things I will be looking for:

   Is the device being scanned?
   Are the custom OIDs being passed to zenperfsnmp?
   Are packets coming back when those OIDs are requested?

-Eric

DAVE CUSHING wrote:
I've tried that a number of times and haven't had any success.  I am
going to bring up another instance of ZenOSS, because I have 90 switches
and 40 servers in this one and trying to find stuff in the logs is
getting a little onerous.  It will also give me a staging area for
testing some changes before implementing them.

If you would have any ideas, I would appreciate it because I am trying
to justify sticking with ZenOSS over a competitor (commercial software)
and if we can get the oids working it would be a huge bonus.

[EMAIL PROTECTED]  >>>
Hi Dave,

By default, zenperfsnmp reloads its configuration every half hour. So, it can take as long as 30 minutes for your configuration changes to get loaded by zenperfsnmp and for collection to begin.

Try restarting zenperfsnmp and check that the graphs exist. You can also run zenperfsnmp once against a single device which is useful for debugging:

    $ zenperfsnmp run -v 10 -d myrouter

Once zenperfsnmp begins collection, it will take a few cycles for the graphs to have enough data to show any values. -Eric

DAVE CUSHING wrote:
I have added a perfconf oid for tracking the current number of
sessions
on my Fortinet Fortigate Firewall.

Here is an output from snmpwalk:

zenoss:/usr/local/zenoss/log # snmpwalk -v2c -cpublic xx.xx.xx.xx
1.3.6.1.4.1.12356.1.10
SNMPv2-SMI::enterprises.12356.1.10.0 = Gauge32: 2062

zenoss:/usr/local/zenoss/log # snmpwalk -v1 -cpublic xx.xx.xx.xx
1.3.6.1.4.1.12356.1.10
SNMPv2-SMI::enterprises.12356.1.10.0 = Gauge32: 1949

So I know the firewall is answering v1 and v2c SNMP queries correctly.

I set the perfconf counter up as type gauge, with the OID as above and
a
format string of %1.0lf
I have the graph set up as well, but I still get no graph output at
all.
 Where should I be checking to see if it is gathering the data or
getting an error?  Or does someone have a pointer as to something else
I
could be doing wrong?

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

Reply via email to