Discussion:
Template Error
dpetzel
2012-02-20 14:46:40 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
It doesnt tell you what the actual exception is does it? It might be worth checking zenhub.log or zenevent.log for additional details
--------------------------------------------------------------

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

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]
C LK
2012-02-20 15:00:23 UTC
Permalink
C LK [http://community.zenoss.org/people/imechanics] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
It occured in event class status\update.

The threshold Memory in template /zport/dmd/Devices/Server/Windows/1%20Processor/rrdTemplates/Device has caused an exception.
--------------------------------------------------------------

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

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]
dpetzel
2012-02-20 15:03:20 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
Again, does it give you the actual exception/traceback, or is this all that there is? The event might be limited in info, but zenhub or event.log might have more details.
--------------------------------------------------------------

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

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]
C LK
2012-02-20 15:21:29 UTC
Permalink
C LK [http://community.zenoss.org/people/imechanics] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
I've attached extracts from the log files.
--------------------------------------------------------------

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

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]
dpetzel
2012-02-20 15:28:06 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
Are the graphs actually working? I believe this thread has revelant info to your issue: http://community.zenoss.org/docs/DOC-3386#comment-5020 http://community.zenoss.org/docs/DOC-3386#comment-5020

You might be able to disable the threshold on the template to make the errors cease
--------------------------------------------------------------

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

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]
C LK
2012-02-20 15:41:50 UTC
Permalink
C LK [http://community.zenoss.org/people/imechanics] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
The graphs were not working. I removed this zenpack. Was it not working because of this:

*External Dependencies*: It consists of 2 bash scripts which collect the information from the SNMP Service. The bash scripts rely on the 'bc' and 'snmpwalk' commands, so make sure that you have those installed on your server before using this ZenPack.


Where do I get these scripts and how do I install them?
--------------------------------------------------------------

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

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]
dpetzel
2012-02-20 15:45:33 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
The scripts will be included in the ZenPack, the bc and snmpwalk are likely already present, but you'll have to check as I don't know what distro you are using.

If you have removed the zenpack, the errors should have stopped, is that not the case?

In any case, I know alot of people use the pack, so if the graphs were not working that would explain the error message. You could potentially re-install the pack, and from there debug why the graphs were not working.
--------------------------------------------------------------

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

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]
C LK
2012-02-20 15:55:08 UTC
Permalink
C LK [http://community.zenoss.org/people/imechanics] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
The errors stopped when I removed the zenpack. I've reinstalled it and the grapghs appear with NAN values. I guess I need to wait a while for it to collect some data?
--------------------------------------------------------------

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

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]
dpetzel
2012-02-20 16:31:14 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
Yeah, you'll want to wait at least three polling intervals (usually 15 minutes) before the NANs should be replace with actual data. If your still seeing NANs after that something is up that will require some additional debugging
--------------------------------------------------------------

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

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]
C LK
2012-02-20 16:37:31 UTC
Permalink
C LK [http://community.zenoss.org/people/imechanics] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
There is no data so far. I am looking at the grapghs sub-container in the Windows container. I've selected Free Memory, CPU and Paging. They are all showing NAN values.

Many thanks
--------------------------------------------------------------

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

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]
dpetzel
2012-02-20 16:40:47 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
Any chance you could pass along a screen shot which include the entire screen, not just the graph with the NAN?
--------------------------------------------------------------

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

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]
C LK
2012-02-20 16:45:06 UTC
Permalink
C LK [http://community.zenoss.org/people/imechanics] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
The error I am receiving is

Error reading value for "memoryAvailableKBytes" on 192.168.0.1 (oid .1.3.6.1.4.1.9600.1.1.2.2.0 is bad)

Kind Regards
Chris Lee Kim

Sent from my iPhone
m: +44 788 099 5721
--------------------------------------------------------------

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

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]
dpetzel
2012-02-20 18:53:34 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
Can you snmpwalk those OIDs?
--------------------------------------------------------------

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

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]
C LK
2012-02-20 23:55:17 UTC
Permalink
C LK [http://community.zenoss.org/people/imechanics] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
I tried to snmp walk one of the errors and I got this
snmpwalk -v1 -c public -On .1.3.6.1.4.1.43.45.1.10.2.2.1.1.3.0.1
getaddrinfo: .1.3.6.1.4.1.43.45.1.10.2.2.1.1.3.0.1 nodename nor servname provided, or not known
snmpwalk: Unknown host (.1.3.6.1.4.1.43.45.1.10.2.2.1.1.3.0.1) (No such file or directory)

Device Name : IDEH-Student Server
Location :
Event Message :

Error reading value for "cpuPercentProcessorTime" on 192.168.1.4 (oid .1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108 is bad)
--------------------------------------------------------------

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

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]
dpetzel
2012-02-21 00:05:40 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
You need to supply the IP address or a resolvable hostname to the snmpwalk command.
--------------------------------------------------------------

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

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]
C LK
2012-02-21 00:17:38 UTC
Permalink
C LK [http://community.zenoss.org/people/imechanics] created the discussion

"Re: Template Error"

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

--------------------------------------------------------------
Results of the snmpwalk attached
--------------------------------------------------------------

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

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...