Discussion:
Problems to graph and threshold custom Oid.
Diogo Dotta
2012-02-03 16:07:19 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64206#64206

--------------------------------------------------------------
Greetings everyone!

I am currently setting up Witelcom wireless devices on Zenoss 3.2.1

I have gone through many topics for "nan" graphs and for .rrd files not being created or not collecting data. None of those could clarify my situation.

I created a new device template for these Witelcom devices, entered oids to check uptime, frequency, signal strength, data rate, among others.

- I can successfully snmpget to all of the Oids desired
- I have the .0 at the end of the Oid and I have NOT entered a "." at the start of the Oid

Uptime rrd is being updated and displayed correctly on the device summary screen.

I can get the frequency Oid to collect data and to graph (meaning I can get something custom to work)

The data rate (TX/RX) data point had .rrd files created under /Device/"device" folder but graph is "nan"

Sig Strength data point doesnÂŽt even have a .rrd file created.

These is very odd as it happens to some Oids only.

Graphs for interfaces on these devices are working good.

I imported a zenpack for my cisco routers/switches which are working fine.

Any help is greatly appreciated.

Diogo Dotta
Sr. Network Engineer
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64206#64206]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2012-02-03 16:17:06 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64214#64214

--------------------------------------------------------------
Give some examples of the SNMPGet results to the OIDs that aren't working.

--
James Pulver
ZCA Member
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64214#64214]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-03 16:31:04 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64215#64215

--------------------------------------------------------------
Hello James,

Here follows the examples:

Sig Str (no graph and rrd not created)

*snmpget -v2c -c atlanet 192.168.10.2 1.3.6.1.4.1.426.8.1.3.1.3.0*
*iso.3.6.1.4.1.426.8.1.3.1.3.8 = INTEGER: -56*

This is for data rate (no graph rrd file is created but not populated)

*snmpget -v2c -c atlanet 192.168.10.2 1.3.6.1.4.1.426.8.1.20.7.0*
*iso.3.6.1.4.1.426.8.1.20.7.0 = STRING: "13M"*

This is for frequency which is working well

*snmpget -v2c -c atlanet 192.168.10.2 1.3.6.1.4.1.426.8.1.2.1.5.0*
*iso.3.6.1.4.1.426.8.1.2.1.5.0 = INTEGER: 5360*

Results from rrdtool:

*rrdtool lastupdate freq_freq.rrd*
*ds0*

*1328286260: 5360.0*


*rrdtool lastupdate RXrate_RXrate.rrd*
*ds0*

*1328273350: U*

Thanks!

Diogo
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64215#64215]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-04 05:59:54 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64249#64249

--------------------------------------------------------------
Diogo:

Make sure your datasource is set to gauge for the oid returning negative values.

For the oid returning strings you will need to write a script to convert those values to integers and collect the data via a command datasource.

Best,
--Shane (Hackman238)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64249#64249]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-04 06:59:21 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64240#64240

--------------------------------------------------------------
Thanks for your answer Shane.

For the Integer value, the datasource is set to gauge, still I donÂŽt have the .rrd file created for that specific Oid.

I see what you are saying for the strings, I will try that out and post the outcome.

Thx,

Diogo
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64240#64240]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 13:33:45 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64269#64269

--------------------------------------------------------------
Moving fwd.

I tried completely removing Zenoss and re-installing it. Add only one device to try to graph and create threshold alarms for the signal strength Oid, as listed above.

Data point is set to gauge as Shane highlighted, still I have no data, .rrd file isn created, so my threshold warnings and graph aren't working.

Totally lost here, why would that happen to that specific Oid?

Any help is greatly appreciated.

-Diogo
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64269#64269]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2012-02-06 13:56:21 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64273#64273

--------------------------------------------------------------
Do you get any error events? Try enabling debug logging for zenperfsnmp?
https://zcaportal.org/wiki/bin/view/ZCA/ZCAFAQ#How_does_one_change_the_log_severity_level_for_a_Zenoss_daemon_such_as_Zenactions_63 https://zcaportal.org/wiki/bin/view/ZCA/ZCAFAQ#How_does_one_change_the_log_severity_level_for_a_Zenoss_daemon_such_as_Zenactions_63

--
James Pulver
ZCA Member
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64273#64273]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 14:16:15 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64270#64270

--------------------------------------------------------------
Thanks for your help James!

I couldn't find what is wrong from the logs. Here is the output:

2012-02-06 12:10:13,787 DEBUG zen.zenperfsnmp: Starting PBDaemon initialization
2012-02-06 12:10:13,787 INFO zen.zenperfsnmp: Connecting to localhost:8789
2012-02-06 12:10:13,788 DEBUG zen.zenperfsnmp: Logging in as admin
2012-02-06 12:10:13,794 INFO zen.zenperfsnmp: Connected to ZenHub
2012-02-06 12:10:13,794 DEBUG zen.zenperfsnmp: Setting up initial services: EventService, SnmpPerfConfig
2012-02-06 12:10:13,794 DEBUG zen.zenperfsnmp: Chaining getInitialServices with d2
2012-02-06 12:10:13,795 DEBUG zen.zenperfsnmp: Loaded service EventService from zenhub
2012-02-06 12:10:13,795 DEBUG zen.zenperfsnmp: Loaded service SnmpPerfConfig from zenhub
2012-02-06 12:10:13,795 DEBUG zen.zenperfsnmp: Queueing event {'severity': 0, 'component': 'zenperfsnmp', 'agent': 'zenperfsnmp', 'summary': 'started', 'manager': 'SM01.ATLANET', 'device': 'localhost', 'eventClass': '/App/Start', 'monitor': 'localhost'}
2012-02-06 12:10:13,796 DEBUG zen.zenperfsnmp: Total of 1 queued events
2012-02-06 12:10:13,796 DEBUG zen.zenperfsnmp: Calling connected.
2012-02-06 12:10:13,796 DEBUG zen.zenperfsnmp: Connected to zenhub
2012-02-06 12:10:13,796 INFO zen.zenperfsnmp: Fetching property items...
2012-02-06 12:10:13,802 DEBUG zen.zenperfsnmp: Updated configCycleInterval config to 360
2012-02-06 12:10:13,802 INFO zen.zenperfsnmp: Getting threshold classes...
2012-02-06 12:10:13,802 DEBUG zen.zenperfsnmp: Loading classes ['Products.ZenModel.MinMaxThreshold']
2012-02-06 12:10:13,803 INFO zen.zenperfsnmp: Checking for outdated configs...
2012-02-06 12:10:13,804 INFO zen.zenperfsnmp: Fetching configs for ['localhost', '192.168.10.2']...
2012-02-06 12:10:13,805 INFO zen.zenperfsnmp: Fetching default RRDCreateCommand...
2012-02-06 12:10:13,806 INFO zen.zenperfsnmp: Getting collector thresholds...
2012-02-06 12:10:13,812 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost', ''))
2012-02-06 12:10:13,812 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost', ''))
2012-02-06 12:10:13,813 DEBUG zen.thresholds: Updating threshold ('zenperfsnmp cycle time', ('localhost', ''))
2012-02-06 12:10:13,813 DEBUG zen.thresholds: Updating threshold ('zenping cycle time', ('localhost', ''))
2012-02-06 12:10:13,813 DEBUG zen.thresholds: Updating threshold ('zenprocess cycle time', ('localhost', ''))
2012-02-06 12:10:13,813 INFO zen.zenperfsnmp: Fetching SNMP status...
2012-02-06 12:10:13,814 INFO zen.zenperfsnmp: Initiating incremental device load
2012-02-06 12:10:13,814 DEBUG zen.zenperfsnmp: Fetching configs for 2 devices
2012-02-06 12:10:13,814 DEBUG zen.zenperfsnmp: Fetching config for ['localhost', '192.168.10.2']
2012-02-06 12:10:13,821 DEBUG zen.zenperfsnmp: Getting device ping issues
2012-02-06 12:10:13,896 DEBUG zen.zenperfsnmp: unresponsive devices: []
2012-02-06 12:10:13,897 DEBUG zen.zenperfsnmp: Queueing event {'monitor': 'localhost', 'component': 'zenperfsnmp', 'agent': 'zenperfsnmp', 'manager': 'SM01.ATLANET', 'timeout': 900, 'device': 'localhost', 'eventClass': '/Heartbeat'}
2012-02-06 12:10:13,897 DEBUG zen.zenperfsnmp: Total of 1 queued events
2012-02-06 12:10:13,897 INFO zen.zenperfsnmp: success:0 fail:0 pending:0 todo:0
2012-02-06 12:10:13,897 INFO zen.zenperfsnmp: ******** Cycle completed ********
2012-02-06 12:10:13,897 INFO zen.zenperfsnmp: Sent 0 OID requests
2012-02-06 12:10:13,897 INFO zen.zenperfsnmp: Queried 0 devices
2012-02-06 12:10:13,897 INFO zen.zenperfsnmp:   0 in queue still unqueried
2012-02-06 12:10:13,897 INFO zen.zenperfsnmp:   Successes: 0  Failures: 0  Not reporting: 0
2012-02-06 12:10:13,898 INFO zen.zenperfsnmp: Waited on 0 queries from previous cycles.
2012-02-06 12:10:13,898 INFO zen.zenperfsnmp:   Successes: 0  Failures: 0  Not reporting: 0
2012-02-06 12:10:13,898 INFO zen.zenperfsnmp: Cycle lasted 0.00 seconds
2012-02-06 12:10:13,898 INFO zen.zenperfsnmp: *********************************
2012-02-06 12:10:13,898 DEBUG zen.thresholds: Checking value 3.19480895996e-05 on Daemons/localhost/zenperfsnmp_cycleTime
2012-02-06 12:10:13,898 DEBUG zen.MinMaxCheck: Checking zenperfsnmp_cycleTime 3.19480895996e-05 against min None and max 240.0
2012-02-06 12:10:13,899 DEBUG zen.zenperfsnmp: Queueing event {'manager': 'SM01.ATLANET', 'eventKey': 'zenperfsnmp cycle time', 'device': 'localhost', 'eventClass': '/Perf/Snmp', 'summary': 'threshold of zenperfsnmp cycle time restored: current value 0.00', 'component': '', 'monitor': 'localhost', 'agent': 'zenperfsnmp', 'severity': 0}
2012-02-06 12:10:13,899 DEBUG zen.zenperfsnmp: Total of 2 queued events
2012-02-06 12:10:13,899 DEBUG zen.zenperfsnmp: Received config for localhost
2012-02-06 12:10:13,899 DEBUG zen.thresholds: Updating threshold ('high load', ('localhost', ''))
2012-02-06 12:10:13,899 DEBUG zen.thresholds: Updating threshold ('low CPU idle', ('localhost', ''))
2012-02-06 12:10:13,900 DEBUG zen.thresholds: Updating threshold ('high utilization', ('localhost', 'eth0'))
2012-02-06 12:10:13,900 DEBUG zen.thresholds: Updating threshold ('high utilization', ('localhost', 'lo'))
2012-02-06 12:10:13,900 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/var'))
2012-02-06 12:10:13,900 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/home'))
2012-02-06 12:10:13,900 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/boot'))
2012-02-06 12:10:13,900 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/'))
2012-02-06 12:10:13,900 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/usr/local'))
2012-02-06 12:10:13,900 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/usr'))
2012-02-06 12:10:13,901 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/tmp'))
2012-02-06 12:10:13,901 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/opt'))
2012-02-06 12:10:13,901 DEBUG zen.zenperfsnmp: Received config for 192.168.10.2
2012-02-06 12:10:13,901 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'br0'))
2012-02-06 12:10:13,901 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'lo'))
2012-02-06 12:10:13,901 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'eth0'))
2012-02-06 12:10:13,901 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'wifi0'))
2012-02-06 12:10:13,902 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'ath1'))
2012-02-06 12:10:13,902 DEBUG zen.zenperfsnmp: Finished fetching configs for 2 devices
2012-02-06 12:10:13,902 INFO zen.zenperfsnmp: Configured 2 of 2 devices
2012-02-06 12:10:18,801 DEBUG zen.thresholds: Checking value 0 on Daemons/localhost/zenperfsnmp_eventQueueLength
2012-02-06 12:10:18,801 DEBUG zen.MinMaxCheck: Checking zenperfsnmp_eventQueueLength 0 against min None and max 1000
2012-02-06 12:10:18,802 DEBUG zen.zenperfsnmp: Queueing event {'manager': 'SM01.ATLANET', 'eventKey': 'high event queue', 'device': 'localhost', 'eventClass': '/Perf', 'summary': 'threshold of high event queue restored: current value 0.00', 'component': '', 'monitor': 'localhost', 'agent': 'zenperfsnmp', 'severity': 0}
2012-02-06 12:10:18,802 DEBUG zen.zenperfsnmp: Total of 1 queued events
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64270#64270]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-06 14:59:18 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64274#64274

--------------------------------------------------------------
Diogo:

It looks liek this device isn't getting its new config. Can you delete the pickle files in $ZENHOME/perf/Daemons assosicated with zenperfsnmp on the devices collector?

Best,
--Shane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64274#64274]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 15:20:30 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64287#64287

--------------------------------------------------------------
Deleted all the *zenperfsnmp_* and after that I did a zensnmpd daemon restart. Logs didn't show any change. I set a threshold value that would force an alarm for testing purposes, still no luck.

2012-02-06 13:13:26,898 INFO zen.zenperfsnmp: Initializing daemon...
2012-02-06 13:13:26,902 DEBUG zen.zenperfsnmp: Starting PBDaemon initialization
2012-02-06 13:13:26,902 INFO zen.zenperfsnmp: Connecting to localhost:8789
2012-02-06 13:13:26,902 DEBUG zen.zenperfsnmp: Logging in as admin
2012-02-06 13:13:26,908 INFO zen.zenperfsnmp: Connected to ZenHub
2012-02-06 13:13:26,908 DEBUG zen.zenperfsnmp: Setting up initial services: EventService, SnmpPerfConfig
2012-02-06 13:13:26,909 DEBUG zen.zenperfsnmp: Chaining getInitialServices with d2
2012-02-06 13:13:26,910 DEBUG zen.zenperfsnmp: Loaded service EventService from zenhub
2012-02-06 13:13:26,910 DEBUG zen.zenperfsnmp: Loaded service SnmpPerfConfig from zenhub
2012-02-06 13:13:26,910 DEBUG zen.zenperfsnmp: Queueing event {'severity': 0, 'component': 'zenperfsnmp', 'agent': 'zenperfsnmp', 'summary': 'started', 'manager': 'SM01.ATLANET', 'device': 'localhost', 'eventClass': '/App/Start', 'monitor': 'localhost'}
2012-02-06 13:13:26,910 DEBUG zen.zenperfsnmp: Total of 1 queued events
2012-02-06 13:13:26,911 DEBUG zen.zenperfsnmp: Calling connected.
2012-02-06 13:13:26,911 DEBUG zen.zenperfsnmp: Connected to zenhub
2012-02-06 13:13:26,911 INFO zen.zenperfsnmp: Fetching property items...
2012-02-06 13:13:26,916 DEBUG zen.zenperfsnmp: Updated configCycleInterval config to 360
2012-02-06 13:13:26,916 INFO zen.zenperfsnmp: Getting threshold classes...
2012-02-06 13:13:26,917 DEBUG zen.zenperfsnmp: Loading classes ['Products.ZenModel.MinMaxThreshold']
2012-02-06 13:13:26,917 INFO zen.zenperfsnmp: Checking for outdated configs...
2012-02-06 13:13:26,919 INFO zen.zenperfsnmp: Fetching configs for ['localhost', '192.168.10.2']...
2012-02-06 13:13:26,920 INFO zen.zenperfsnmp: Fetching default RRDCreateCommand...
2012-02-06 13:13:26,921 INFO zen.zenperfsnmp: Getting collector thresholds...
2012-02-06 13:13:26,927 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost', ''))
2012-02-06 13:13:26,927 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost', ''))
2012-02-06 13:13:26,927 DEBUG zen.thresholds: Updating threshold ('zenperfsnmp cycle time', ('localhost', ''))
2012-02-06 13:13:26,928 DEBUG zen.thresholds: Updating threshold ('zenping cycle time', ('localhost', ''))
2012-02-06 13:13:26,928 DEBUG zen.thresholds: Updating threshold ('zenprocess cycle time', ('localhost', ''))
2012-02-06 13:13:26,928 INFO zen.zenperfsnmp: Fetching SNMP status...
2012-02-06 13:13:26,929 INFO zen.zenperfsnmp: Initiating incremental device load
2012-02-06 13:13:26,929 DEBUG zen.zenperfsnmp: Fetching configs for 2 devices
2012-02-06 13:13:26,929 DEBUG zen.zenperfsnmp: Fetching config for ['localhost', '192.168.10.2']
2012-02-06 13:13:26,930 DEBUG zen.zenperfsnmp: Getting device ping issues
2012-02-06 13:13:27,005 DEBUG zen.zenperfsnmp: unresponsive devices: []
2012-02-06 13:13:27,006 DEBUG zen.zenperfsnmp: Queueing event {'monitor': 'localhost', 'component': 'zenperfsnmp', 'agent': 'zenperfsnmp', 'manager': 'SM01.ATLANET', 'timeout': 900, 'device': 'localhost', 'eventClass': '/Heartbeat'}
2012-02-06 13:13:27,006 DEBUG zen.zenperfsnmp: Total of 1 queued events
2012-02-06 13:13:27,006 INFO zen.zenperfsnmp: success:0 fail:0 pending:0 todo:0
2012-02-06 13:13:27,006 INFO zen.zenperfsnmp: ******** Cycle completed ********
2012-02-06 13:13:27,006 INFO zen.zenperfsnmp: Sent 0 OID requests
2012-02-06 13:13:27,006 INFO zen.zenperfsnmp: Queried 0 devices
2012-02-06 13:13:27,006 INFO zen.zenperfsnmp:   0 in queue still unqueried
2012-02-06 13:13:27,006 INFO zen.zenperfsnmp:   Successes: 0  Failures: 0  Not reporting: 0
2012-02-06 13:13:27,006 INFO zen.zenperfsnmp: Waited on 0 queries from previous cycles.
2012-02-06 13:13:27,006 INFO zen.zenperfsnmp:   Successes: 0  Failures: 0  Not reporting: 0
2012-02-06 13:13:27,007 INFO zen.zenperfsnmp: Cycle lasted 0.00 seconds
2012-02-06 13:13:27,007 INFO zen.zenperfsnmp: *********************************
2012-02-06 13:13:27,007 DEBUG zen.thresholds: Checking value 3.19480895996e-05 on Daemons/localhost/zenperfsnmp_cycleTime
2012-02-06 13:13:27,007 DEBUG zen.MinMaxCheck: Checking zenperfsnmp_cycleTime 3.19480895996e-05 against min None and max 240.0
2012-02-06 13:13:27,008 DEBUG zen.zenperfsnmp: Queueing event {'manager': 'SM01.ATLANET', 'eventKey': 'zenperfsnmp cycle time', 'device': 'localhost', 'eventClass': '/Perf/Snmp', 'summary': 'threshold of zenperfsnmp cycle time restored: current value 0.00', 'component': '', 'monitor': 'localhost', 'agent': 'zenperfsnmp', 'severity': 0}
2012-02-06 13:13:27,008 DEBUG zen.zenperfsnmp: Total of 2 queued events
2012-02-06 13:13:27,008 DEBUG zen.zenperfsnmp: Received config for localhost
2012-02-06 13:13:27,008 DEBUG zen.thresholds: Updating threshold ('high load', ('localhost', ''))
2012-02-06 13:13:27,008 DEBUG zen.thresholds: Updating threshold ('low CPU idle', ('localhost', ''))
2012-02-06 13:13:27,008 DEBUG zen.thresholds: Updating threshold ('high utilization', ('localhost', 'eth0'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high utilization', ('localhost', 'lo'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/var'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/home'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/boot'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/usr/local'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/usr'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/tmp'))
2012-02-06 13:13:27,009 DEBUG zen.thresholds: Updating threshold ('high disk usage', ('localhost', '/opt'))
2012-02-06 13:13:27,010 DEBUG zen.zenperfsnmp: Received config for 192.168.10.2
2012-02-06 13:13:27,010 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'br0'))
2012-02-06 13:13:27,010 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'lo'))
2012-02-06 13:13:27,010 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'eth0'))
2012-02-06 13:13:27,010 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'wifi0'))
2012-02-06 13:13:27,010 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.2', 'ath1'))
2012-02-06 13:13:27,010 DEBUG zen.zenperfsnmp: Finished fetching configs for 2 devices
2012-02-06 13:13:27,011 INFO zen.zenperfsnmp: Configured 2 of 2 devices
2012-02-06 13:13:31,916 DEBUG zen.thresholds: Checking value 0 on Daemons/localhost/zenperfsnmp_eventQueueLength
2012-02-06 13:13:31,916 DEBUG zen.MinMaxCheck: Checking zenperfsnmp_eventQueueLength 0 against min None and max 1000
2012-02-06 13:13:31,916 DEBUG zen.zenperfsnmp: Queueing event {'manager': 'SM01.ATLANET', 'eventKey': 'high event queue', 'device': 'localhost', 'eventClass': '/Perf', 'summary': 'threshold of high event queue restored: current value 0.00', 'component': '', 'monitor': 'localhost', 'agent': 'zenperfsnmp', 'severity': 0}
2012-02-06 13:13:31,916 DEBUG zen.zenperfsnmp: Total of 1 queued events
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64287#64287]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-06 16:29:35 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64281#64281

--------------------------------------------------------------
Diogo:

Are you sure that the template applies to this device?

--Shane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64281#64281]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 16:39:52 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64288#64288

--------------------------------------------------------------
Shane,

Unfortunatelly it is. I am 100% sure since it was properly graphing another Oid on the same template model. Though removed all other custom Oids to try to isolate the problem with this one.

Above I posted 3 snmpget examples.

The snmp getting the frequency of the radio is working just fine, threshold and graph (used as a benchmark).

The signal strength Oid, returning a negative integer, is the one not working fine. That one is critical to the monitoring system.

-Diogo
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64288#64288]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 16:57:11 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64289#64289

--------------------------------------------------------------
I added a new custom oid graph in the same template, .rrd file was automatically created after a few minutes, graph begun to plot a few minutes later.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64289#64289]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-06 16:58:28 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64282#64282

--------------------------------------------------------------
Diogo:

I'm not sure why its not working. Lets yry to isolate the issue from zenperfsnmp by creating a command datasource.

Use the command:
command='snmpwalk -v2c -c${here/zSnmpCommunity} -OvqU ${here/manageIp} YOUROID'; echo 'OK| retValue='`$command`

And create a datapopint called retValue as type gauge, no upper or lower bounds.

Add the new datapoint to a graph.

Example output: OK| retValue=3379935

Best,
--Shane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64282#64282]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 17:48:29 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64290#64290

--------------------------------------------------------------
Hi Shane,

I must have done something wrong, the only thing I changed was the OID, when testing that command against a device I got the following:

Preparing Command...
Exception while performing command:

Traceback (most recent call last):
  File "/usr/local/zenoss/zenoss/Products/ZenUI3/browser/command.py", line 120, in stream
    self.reportError)
  File "/usr/local/zenoss/zenoss/Products/ZenModel/BasicDataSource.py", line 168, in testDataSourceAgainstDevice
    command = self.getCommand(device, REQUEST.get('commandTemplate'))
  File "/usr/local/zenoss/zenoss/Products/ZenModel/RRDDataSource.py", line 206, in getCommand
    res = compiled(getEngine().getContext(environ))
  File "/usr/local/zenoss/python/lib/python2.6/site-packages/zope.tales-3.4.0-py2.6.egg/zope/tales/expressions.py", line 261, in __call__
    v = var(econtext)
  File "/usr/local/zenoss/python/lib/python2.6/site-packages/zope.tales-3.4.0-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6-linux-i686.egg/Products/PageTemplates/Expressions.py", line 127, in _eval
    ob = self._subexprs[-1](econtext)
  File "/usr/local/zenoss/python/lib/python2.6/site-packages/zope.tales-3.4.0-py2.6.egg/zope/tales/expressions.py", line 118, in _eval
    ob = vars[base]
KeyError: 'command'
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64290#64290]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-06 17:50:46 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64283#64283

--------------------------------------------------------------
Digo:

Try this instead: echo 'OK| retValue='`snmpwalk -v2c -c${here/zSnmpCommunity} -OvqU ${here/manageIp} YOUROID`
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64283#64283]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 18:17:41 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64291#64291

--------------------------------------------------------------
I suspect something must be wrong with my installation, here is what I got:

Preparing Command...
Executing command $ZENHOME/libexec/echo 'OK| retValue='`snmpwalk -v2c -catlanet -OvqU 192.168.10.2 1.3.6.1.4.1.426.8.1.3.1.3.0` against 192.168.10.2
/bin/sh: /usr/local/zenoss/zenoss/libexec/echo: not found
DONE in 0 seconds

The directory $ZENHOME/libexec doesn't even exist.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64291#64291]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-06 18:19:43 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64284#64284

--------------------------------------------------------------
Diogo:

Weird. Locate echo on your system and give it the full path to echo.

--Shane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64284#64284]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 18:26:07 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64292#64292

--------------------------------------------------------------
Shane,

Now the command gives me a clean output:

Preparing Command...
Executing command /bin/echo 'OK| retValue='`snmpwalk -v2c -catlanet -OvqU 192.168.10.2 1.3.6.1.4.1.426.8.1.3.1.3.0` against 192.168.10.2
OK| retValue=-56
DONE in 0 seconds


Checking the graph now...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64292#64292]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 18:43:32 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64293#64293

--------------------------------------------------------------
Shane,

Using a command datasource the graph is working just fine. The threshold seems not to be working as I set a value to force an alarm which didn happen. Now that the command and graph are working I was guessing the thresholds would also work.

Thinking of the snmp deamon, can we backtrace why it doesn like that Oid?

-thanks

Diogo
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64293#64293]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-06 18:46:56 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64285#64285

--------------------------------------------------------------
Diogo:

There's probably some regression in zenperfsnmp. Since v4 Core is right around the corner and zenperfsnmp has been compeltely rewritten for that version, I wouldn't count on a v3 patch for the issue. You could try running zenperfsnmp in debug mode and sifting through the lines more closely, but other than that best bet is to add a pdb trace in the daemon.

Zenperfsnmp doesn't have this problem in v4.

--Shane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64285#64285]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Diogo Dotta
2012-02-06 18:57:10 UTC
Permalink
Diogo Dotta [http://community.zenoss.org/people/Dotta] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64294#64294

--------------------------------------------------------------
Shane,

I will wait for v4 then, using command resolves my problem meanwhile. Thank you very much for you help!!!

Diogo
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64294#64294]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-02-06 19:00:16 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Problems to graph and threshold custom Oid."

To view the discussion, visit: http://community.zenoss.org/message/64301#64301

--------------------------------------------------------------
Diogo:

No problem. :)

Don't forget to make the question as answered.

Best,
--Shane (Hackman238)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64301#64301]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...