Discussion:
Error in the graph
Yasha Zislin
2011-12-05 21:10:52 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Error in the graph"

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

--------------------------------------------------------------
I have a weird error when click on graphs for all Windows hosts.

pythonThresholdException User-supplied Python expression (here.getTotalBlocks() * .9) for maximum value caused error: ['usedBlocks_usedBlocks']

By default when you assign a host to FileSystem template (in our environment it's always Windows for whatever reason), there is one graph for storage usage utilization. It has a formula in the maximum threshold value which is referenced in the error.

Any ideas?

SNMP is working. I've tested usedBlocks OID.

Thank you.
--------------------------------------------------------------

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

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]
jcurry
2011-12-08 15:10:42 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
A couple of possible things here...

You say "when you assign a host to FileSystem template"...... - the FileSystem template is a COMPONENT template not a device template, so you should not be binding this template manually - it should bind automatically.  If you see FileSystem as a template bound to the device then unbind it. (BTW - what version of Zenoss are you on??).


You have obviously checked the SNMP connectivity to your Windows targets but could you check each of the OIDs that are specified in the FileSystem template.  I've seen some Windows SNMP agents that provide some parts of the file system host resources MIB, but not all the expected data.

Cheers,
Jane
--------------------------------------------------------------

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

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
2011-12-08 17:08:57 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Change the threshold to:  ((here.getTotalBlocks() or 1) * .9). This will advert the 'Python experssion' error.

In the /Perf/FileSystem transform add a check for if getTotalBlocks() is None or < some number and to rewrite the event in such case to tell you that the TotalBlocks has not been modeled for that device. This will let you know what devices need their filesystem information remodled/fixed, etc.


Chances are if this value isn't filled its due to a modeler that hasn't run or is malfunctioning.

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

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

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]
Yasha Zislin
2011-12-12 15:14:00 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Thank you for responding guys.

SNMP connectivity does work to this windows box except that it doesnt collect everything. I did the walk and it gave me some info.
I am using 3.2.0 zenoss.

Shane, I've tried modifying that formula but no luck. Error is still there. I've restarted service, deleted RRD files and no luck. Maybe something else needs to be done.

It feels like there is no data being collected for that value so it blows up.


Thanks.
--------------------------------------------------------------

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

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
2011-12-12 15:33:08 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

If you snmpwalk this box does it return the flesystem info?

--Shane (Hackman238)
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-12 15:39:26 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
When I do snmpwalk it retuns everything. Interesting fact. By default snmpwalk in zenoss appends "system" at the end of command. It will almost return nothing with that in there. If I do a snmpwalk from console without that "system" entry, it gives me everything.

Also, I do a test on UsedBlocks DataPoints and it returns to me a list of 4 entries.
BTW, I've tried to just use one still no luck.

Thanks.
--------------------------------------------------------------

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

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
2011-12-12 15:43:57 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Can you, as the zenoss user, zenmodel run now -v 10 -d 'your device' and post the result?

--Shane (Hackman238)
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-12 16:15:49 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

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

Are you talking about just modeling the device?
I am having hard time logging into the console with zenoss username. I believe it doesnt have password by default.
If you need to see the output of model the device through the gui, here it is:

2011-12-12 11:13:58,714 INFO zen.ZenModeler: Connecting to localhost:8789 
2011-12-12 11:13:58,728 INFO zen.ZenModeler: Connected to ZenHub 
2011-12-12 11:13:58,862 INFO zen.ZenModeler: Collecting for device 10.x.x.x 
2011-12-12 11:13:58,972 INFO zen.ZenModeler: No WMI plugins found for 10.x.x.x 
2011-12-12 11:13:58,976 INFO zen.ZenModeler: No Python plugins found for 10.x.x.x 
2011-12-12 11:13:58,981 INFO zen.ZenModeler: No command plugins found for 10.x.x.x 
2011-12-12 11:13:58,992 INFO zen.ZenModeler: SNMP collection device 10.x.x.x 
2011-12-12 11:13:58,992 INFO zen.ZenModeler: plugins: zenoss.snmp.NewDeviceMap, zenoss.snmp.DeviceMap, zenoss.snmp.InterfaceMap, zenoss.snmp.RouteMap, zenoss.snmp.IpServiceMap, zenoss.snmp.HRFileSystemMap, zenoss.snmp.HRSWInstalledMap, zenoss.snmp.HRSWRunMap, zenoss.snmp.InformantHardDiskMap 
2011-12-12 11:13:59,065 INFO zen.ZenModeler: No portscan plugins found for 10.x.x.x 
2011-12-12 11:14:03,061 INFO zen.SnmpClient: Device timed out: SNMP info for 10.x.x.x at 10.x.x.x:161 timeout: 2.5 tries: 2 version: v2c community: xxxxxx
2011-12-12 11:14:03,061 INFO zen.SnmpClient: snmp client finished collection for 10.x.x.x 
2011-12-12 11:14:03,061 WARNING zen.SnmpClient: Device 10.x.x.x timed out: are your SNMP settings correct? 
2011-12-12 11:14:03,062 INFO zen.ZenModeler: No change in configuration detected 
2011-12-12 11:14:03,062 INFO zen.ZenModeler: Scan time: 4.20 seconds 
2011-12-12 11:14:03,069 INFO zen.ZenModeler: Daemon ZenModeler shutting down 
--------------------------------------------------------------

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

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
2011-12-12 16:34:38 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Looks like Zenoss cant reach it at all. On the zenoss server as the zenoss user can you smnpwalk -v2c -c 'your community' 'yourdevice ip'?

--Shane (Hackman238)
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-12 16:53:37 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
snmpwalk works just fine.

Here is the issue. The community string has $ sign. When I run snmpwalk in console I use \$

In properties of object in zenoss I had \ as well. So I have removed it and modeler works fine. Here is the output:

2011-12-12 11:48:13,901 INFO zen.ZenModeler: Connecting to localhost:8789
2011-12-12 11:48:13,916 INFO zen.ZenModeler: Connected to ZenHub
2011-12-12 11:48:13,985 INFO zen.ZenModeler: Collecting for device 10.x.x.x
2011-12-12 11:48:14,132 INFO zen.ZenModeler: No WMI plugins found for 10.x.x.x
2011-12-12 11:48:14,137 INFO zen.ZenModeler: No Python plugins found for 10.x.x.x
2011-12-12 11:48:14,142 INFO zen.ZenModeler: No command plugins found for 10.x.x.x
2011-12-12 11:48:14,153 INFO zen.ZenModeler: SNMP collection device 10.x.x.x
2011-12-12 11:48:14,154 INFO zen.ZenModeler: plugins: zenoss.snmp.NewDeviceMap, zenoss.snmp.DeviceMap, zenoss.snmp.InterfaceMap, zenoss.snmp.RouteMap, zenoss.snmp.IpServiceMap, zenoss.snmp.HRFileSystemMap, zenoss.snmp.HRSWInstalledMap, zenoss.snmp.HRSWRunMap, zenoss.snmp.InformantHardDiskMap
2011-12-12 11:48:14,302 INFO zen.ZenModeler: No portscan plugins found for 10.x.x.x
2011-12-12 11:48:14,675 INFO zen.SnmpClient: snmp client finished collection for 10.x.x.x
2011-12-12 11:48:14,676 INFO zen.ZenModeler: Processing zenoss.snmp.NewDeviceMap for device 10.x.x.x
2011-12-12 11:48:14,677 INFO zen.ZenModeler: processing zenoss.snmp.DeviceMap for device 10.x.x.x
2011-12-12 11:48:14,678 INFO zen.ZenModeler: Modeler zenoss.snmp.InterfaceMap processing data for device 10.x.x.x
2011-12-12 11:48:14,682 INFO zen.ZenModeler: processing zenoss.snmp.RouteMap for device 10.x.x.x
2011-12-12 11:48:14,684 INFO zen.ZenModeler: processing zenoss.snmp.IpServiceMap for device 10.x.x.x
2011-12-12 11:48:14,685 INFO zen.ZenModeler: Modeler zenoss.snmp.HRFileSystemMap processing data for device 10.x.x.x
2011-12-12 11:48:14,686 INFO zen.ZenModeler: Skipping D:\. 0 total blocks.
2011-12-12 11:48:14,687 INFO zen.ZenModeler: Skipping Physical Memory (ram) as it matches zFileSystemMapIgnoreTypes.
2011-12-12 11:48:14,688 INFO zen.ZenModeler: processing zenoss.snmp.HRSWInstalledMap for device 10.x.x.x
2011-12-12 11:48:14,690 INFO zen.ZenModeler: Processing zenoss.snmp.HRSWRunMap for device 10.x.x.x
2011-12-12 11:48:14,693 INFO zen.ZenModeler: processing zenoss.snmp.InformantHardDiskMap for device 10.x.x.x
2011-12-12 11:48:15,204 INFO zen.ZenModeler: Changes in configuration applied
2011-12-12 11:48:15,256 INFO zen.ZenModeler: Scan time: 1.27 seconds
2011-12-12 11:48:15,262 INFO zen.ZenModeler: Daemon ZenModeler shutting down

===============
I dont have an option of changing community string.

Thanks.
--------------------------------------------------------------

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

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
2011-12-12 16:55:07 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Thats the problem. You can't have a snmpstring with symbolic characters.

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

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

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]
Yasha Zislin
2011-12-12 17:03:25 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
So even if I specify escape character (ie \)?

I dont have an option of changing it. That's the problem.
What about SNMP v3? Do you know how to configure it in windows?
If I use that, then I wont need a community string. User account with pass can be created by me.

Thanks.
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-12 17:15:34 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

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

It looks like Windows natively doesnt support v3.

What do you think about upgrading zenoss to 3.2.1 from our version 3.2.0?
--------------------------------------------------------------

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

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
2011-12-12 17:18:51 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

I don't think theres a way to make zenperfsnmp handle those characters that's easy to implement. I think you're right, Windows doesn't do v3 OOB. The only real option would be to convert all the templates to zencommand datasources, but, this is easier said than done. Is it really not an option to strip out the $?

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

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

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]
Yasha Zislin
2011-12-12 17:21:40 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
That's what happens when you are not in charge of the system. For others $ doesnt cause a problem to have snmp monitoring. For zenoss it does.

I am trying to get another community string created. It seems that Windows can have multiple ones. That hopefully should solve the problem.

Thanks for your help.
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-12 17:30:56 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Something interesting that I have noticed.
When you click on file systems under components, all of the data is there. Used space info, and etc.

Something is not right withat threshold UsedBlocks thingy.
--------------------------------------------------------------

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

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
2011-12-12 17:32:12 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Yeah zenmodeler specifically is having the problem. May not apply to zenperfsnmp or anything else.

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

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

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]
Yasha Zislin
2011-12-12 17:37:55 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I think it is not the modeler but the perf one that is having problems.
I've removed escape character from config and modeler is working but when I test OIDs it wont work since it doesnt have escape character.
--------------------------------------------------------------

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

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
2011-12-12 17:39:50 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

So if you remove the escape it'll model and apply changes but then won't collect? In that case it sounds like zenperfsnmp requires the escape character or can't handle it at all. Very odd.
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-12 17:48:18 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yes. So I've removed escape character from configuration properties and modeler goes through (I've showed you the output. the second one). Performance in graphs, it seems, never worked.

What's weird is that graphs in Components sections collecting data and graphing ok. Even that same usedblocks data in File Systems sections.

So I am confused. Isn't that being done by perf.?
--------------------------------------------------------------

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

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
2011-12-12 17:50:10 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

I must have misunderstood, I didn't think any were working. If the items under components are graphing and are collected by snmp then that is extremely weird.
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-12 20:38:50 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I am starting to feel like I am misunderstanding myself :)

It's weird but File Systems (under Components) graph has threshold configured as well. It's using 90 (I assume %).
It shows just fine.

The problematic one comes from Monitoring Template - FileSystem (/Server)
If I change threshold from that here.totalblocks to some number, it gives another error.
rpnThresholdException The following RPN exception is from user-supplied code

It feels like that particular monitoring template is messed up or something.

THanks.
--------------------------------------------------------------

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

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
2011-12-24 18:23:19 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

I'm thinking that some device has an invalid entry for totalblocks. Can you post the entire alert?

Happy holiday!

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/63428#63428]

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]
Yasha Zislin
2011-12-28 16:15:17 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

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

This happpens for ALL windows devices. Loading Image... Loading Image...
--------------------------------------------------------------

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

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
2011-12-28 16:20:17 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

For the heck of it change the threshold value to '(here.getTotalBlocks() or 1) * .9. This will default to a value of 1 in cases where here.getTotalBlocks() returns nothing. If the message goes away we can conclude that obj.totalBlocks isn't getting filled and start looking there.

--Shane (Hackman238)
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-28 16:31:23 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Changed it and I get the error still.
Loading Image... Loading Image...
What's interesting is that if I go to File Systems under Components, it shows the same graph there.
But in Graphs section (where I get this error) it doesnt show.
Weird.
--------------------------------------------------------------

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

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
2011-12-28 17:01:20 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

In zendmd do

d=dmd.Devices.findDevice('name of one of the problem devices')
d.id

if the name of the device is returned, continue.

for fs in d.os.filesystems():
    try:
       fs.id
       fs.getTotalBlocks()
    except:
       print fs.id + 'is a problem'

{press enter twice}

Exmaple output:
16162687.0
'boot'
101086.0
'opt_zenoss'
52443590.0

If any say 'is a problem' let me know.

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/63451#63451]

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]
Yasha Zislin
2011-12-28 17:03:18 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

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

How can I get to zendmd? Is that in Console session?

Thanks.
--------------------------------------------------------------

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

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
2011-12-28 17:05:55 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Yep. SSH to your zenoss master then su zenoss. Next type 'zendmd'. You must be the zenoss user for it to work correctly.

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

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

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]
Yasha Zislin
2011-12-28 17:09:51 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I got it to run correctly and I got output without 'is a problem'.
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-28 17:06:02 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I think I found zendmd but I get errors when I try to get it running.

[***@zenoss bin]# ./zendmd
./zendmd: line 15: /bin/zenfunctions: No such file or directory
./zendmd: line 17: /bin/python: No such file or directory
./zendmd: line 17: exec: /bin/python: cannot execute: No such file or directory
--------------------------------------------------------------

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

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
2011-12-28 17:07:37 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Zendmd must be run as the zenoss user. Never run or start any zenoss executables as anything other than zenoss. Doing so will help prevent permission problems :)

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

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

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]
Yasha Zislin
2011-12-28 17:10:46 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Maybe that's why I couldnt upgrade zenoss to latest version.
I have to upgrade as zenoss user. I was doing it as root and it was giving me permission errors.
--------------------------------------------------------------

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

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
2011-12-28 17:15:01 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Try the same code but with a few devices known to cause the error.
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-28 19:13:45 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I've tried a few but all return data.

You see the weird part is that File Systems graphs in Components section does show the same graph.

It's something with that default graph under Graphs section. Anymore ideas?
--------------------------------------------------------------

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

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
2011-12-28 19:28:41 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Good. This is a really odd problem. :) For the hell of it set that threshold value to 100 or any other positive whole number. Lets see if that throws or not.

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

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

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]
Yasha Zislin
2011-12-28 19:30:50 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I set it to 100 and now I get this error.
Loading Image... Loading Image...
--------------------------------------------------------------

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

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
2011-12-28 19:32:35 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Take a look at the graph definitions in the template. Look in the RPN fields, anything listed?
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-28 20:05:19 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
In graph definitions, threshold doesnt have a RPN but the actual field usedBlocks does. Here is the screenshot:
Loading Image... Loading Image...
--------------------------------------------------------------

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

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
2011-12-28 20:08:52 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Chop that out and click save. Lets see if the error goes away.

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

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

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]
Yasha Zislin
2011-12-28 20:27:37 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Nope. The error is still there.
--------------------------------------------------------------

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

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
2011-12-28 20:28:49 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Restart zenactions and zenhub. Something really weird is going on. Starting to run short of ideas. :(

--Shane (Hackman238)
--------------------------------------------------------------

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

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]
Yasha Zislin
2011-12-28 20:41:46 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I've restarted the services, and no luck, error is still there.

I am going to try to update to version 3.2.1 from our 3.2.0 in a little bit. Maybe that can fix it.
--------------------------------------------------------------

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

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-01-03 17:20:56 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

How did the upgrade go?

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/63492#63492]

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]
Yasha Zislin
2012-01-03 17:23:43 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
It didnt work, Shane.

I got errors when doing post-upgrade stuff.

One warning:

Daemon: zeoctl /opt/zenoss/bin/zenoss: line 130: /opt/zenoss/bin/zeoctl: Permission denied

And then alot of these:         

Testing for the pre-upgrade ZenPack...
WARNING:ZEO.zrpc:(4156) CW: error connecting to ('localhost', 8100): ECONNREFUSED

It would just repeat these non stop on 3-4 second interval unless I break.

Any ideas?

I am thinking about installing brand new VM (3.2.1) and doing backup/restore
--------------------------------------------------------------

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

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-01-03 17:28:16 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Is /opt/zenoss/bin/zeoctl owned by zenoss:zenoss and executable?

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

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

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]
Yasha Zislin
2012-01-03 17:35:21 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Everything in that folder is zenoss:zenoss except for zensocket which is root:zenoss
--------------------------------------------------------------

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

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-01-03 17:37:35 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

As the zenoss user if you zeoctl status does it work?

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

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

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]
Yasha Zislin
2012-01-03 17:41:29 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
[***@zenoss bin]$ zeoctl status
program running; pid=3082
--------------------------------------------------------------

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

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-01-03 17:44:04 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

So if you download the new rpm and rpm -Uvh zenoss.rpm as root it doesn't install?
--------------------------------------------------------------

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

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]
Yasha Zislin
2012-01-03 17:58:36 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I've downloaded and installed with rpm.
Then instructions say to start the service. When I do that it does the post-upgrade stuff and that's when I get these errors.
--------------------------------------------------------------

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

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-01-03 17:59:49 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Are you starting zenoss via /sbin/service or using the intit script?

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

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

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]
Yasha Zislin
2012-01-03 18:03:52 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I am following the upgrade guide for Virtual Appliance upgrade.

and I use: service zenoss start   as root
--------------------------------------------------------------

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

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-01-03 18:08:37 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Ah gotcha. I didn't realize you were using the virtual appliance. As root cd /opt/zenoss/bin and try ./zenoss_upgrade_pre.

I'm curious if its a problem with the env or service.

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

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

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]
Yasha Zislin
2012-01-03 18:15:44 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I ran that command before installing new RPM.
Here is the output.

[***@zenoss bin]# ./zenoss_upgrade_pre
/opt/zenoss/bin/install-functions.sh converted
/opt/zenoss/bin/zenoss_upgrade_pre converted
Starting Zope Object Database
daemon process already running; pid=3082
Migrating data...
INFO:zen.migrate:Installing snmpv3trap (3.1.70)
INFO:zen.migrate:Loading Reports
Stopping Zope Object Database
.
daemon process stopped
--------------------------------------------------------------

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

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-01-03 18:18:08 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

That command is essentially the script that gets run by service post upgrade of zenoss during service zenoss start. After installing the updated rpm, did you try that command?

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

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

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]
Yasha Zislin
2012-01-03 18:19:56 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
I believe it runs automatically when you try to start the service after RPM install.
I've seen this output. Almost right after "functions converted", I get that warning about permission denied.
--------------------------------------------------------------

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

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-01-03 18:22:00 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

That's exactly right. I'm not sure about the permisisons problem, seems like service isn't handleing evnorinment correctly.

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

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

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]
Yasha Zislin
2012-01-04 20:12:58 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

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

So I've tried to install newer version of zenoss virtual appliance, backing up my 3.2.0 version and restoring it to 3.2.1.

I got the following error after running zenmigrate after the restore.

ValueError: Non-zero version length. Versions aren't supported.
Have you seen this problem before?

Thanks.

--------------------------------------------------------------

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

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-01-04 20:14:53 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Can you rerun zenmigrate and post the trace? I've don't think I've seen a zenmigrate error like that.

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

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

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]
Yasha Zislin
2012-01-04 20:20:54 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
zenmigrate
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 21, in <module>
    main()
  File "/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line 17, in main
    m = Migrate.Migration()
  File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py", line 125, in __init__
    self.connect()
  File "/opt/zenoss/Products/ZenUtils/ZenScriptBase.py", line 53, in connect
    self.db=DB(storage, cache_size=self.options.cachesize)
  File "/opt/zenoss/lib/python/ZODB/DB.py", line 448, in __init__
    temp_storage.load(z64, '')
  File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 810, in load
    data, tid = self._server.loadEx(oid)
  File "/opt/zenoss/lib/python/ZEO/ServerStub.py", line 176, in loadEx
    return self.rpc.call("loadEx", oid)
  File "/opt/zenoss/lib/python/ZEO/zrpc/connection.py", line 703, in call
    raise inst # error raised by server
ValueError: Non-zero version length. Versions aren't supported.


--------------------------------------------------------------

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

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-01-04 20:23:40 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Wow. Thats a serisous error. Seems like the ZODB might be corrupted or a module migt be missing. I'm going to ask a few folks what they think.

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

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

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]
Yasha Zislin
2012-01-04 20:27:08 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Nice :)
I think original Zenoss (3.2.0) that I have installed, was not a virtual appliance. I ran zenbackup with sql and file switches. Then I've downloaded 3.2.1 virtual appliance and doing restore and zenmigrate in there.

I read some stuff online and somebody else had similar issue but in older version of zenoss. They were saying that "zodb versions" of previous installs are still stored and it caused this error.

When I've installed 3.2.0 version I had to do the same approach (ie backup, restore, migrate) from previous version (I think it was 3.0.0 or so).

Hopefully this information can be helpful.

Thanks.
--------------------------------------------------------------

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

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-01-04 20:36:51 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
You are aware that you can only successfully restore a Zenoss backup to the same version of Zenoss right? So if you have a backup of 3.2.0, you'll need to restore it to 3.2.0...

--
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/63548#63548]

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-01-04 20:38:24 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Can you post the install.log?

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

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

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]
Yasha Zislin
2012-01-04 20:42:58 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Since this is a virtual appliance, install.log contains logs from some time ago. I assume it was done by zenoss folks. Here it is
------------
-------------------------
Fresh install pre steps
Wed Oct 19 13:38:33 EDT 2011
Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux
-------------------------
Stopping snmpd: ^[[60G[^[[0;32m  OK  ^[[0;39m]^M
Starting snmpd: ^[[60G[^[[0;32m  OK  ^[[0;39m]^M
Stopping MySQL:  ^[[60G[^[[0;32m  OK  ^[[0;39m]^M
Starting MySQL:  ^[[60G[^[[0;32m  OK  ^[[0;39m]^M
Wrote file /opt/zenoss/etc/zeo.conf
Wrote file /opt/zenoss/bin/zeoctl
Changed mode for /opt/zenoss/bin/zeoctl to 755
Wrote file /opt/zenoss/bin/runzeo
Changed mode for /opt/zenoss/bin/runzeo to 755
Starting Zope Object Database
.
daemon process started, pid=7030
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes)
ZentinelPortal loaded at zport
Stopping Zope Object Database
daemon process stopped
Zenoss initialization complete.
Daemon: zeoctl .
daemon process started, pid=3327
Daemon: zopectl .
daemon process started, pid=3332
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactions starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenwin starting...
Daemon: zeneventlog starting...
Fresh install post step
--2011-10-19 13:54:50--  http://localhost:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=localhost&devicePath=/Server/Linux http://localhost:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=localhost&devicePath=/Server/Linux
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'
     0K .......... .....                                        752 =21s
2011-10-19 13:55:13 (752 B/s) - `/dev/null' saved [16093]
Zenoss installation completed.


--------------------------------------------------------------

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

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-01-04 20:45:24 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

As the zenoss user, try running zenmigrate --list and post the result. I'm interested in what zenmigrate steps are available.

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

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

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]
Yasha Zislin
2012-01-04 21:33:04 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Running zenmigrate --list under zenoss user account doesnt provide different output result.

Should I run that when services are stopped or started?
--------------------------------------------------------------

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

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-01-04 21:38:06 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

zeoctl must state that zeo is running at a minimum for zenmigrate to run. if you run zeoctl status as the zenoss user and it says its running, try doing a zeoctl restart then the zenmigrate --list again

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

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

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]
Yasha Zislin
2012-01-04 21:46:30 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
zeoctl daemon manager is not running.

I tried to run zeoctl start. It tries to start and then fails and gives that message above.
Weird. It doesnt start even before restore procedure. GRRR!!
--------------------------------------------------------------

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

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]
Yasha Zislin
2012-01-04 21:52:05 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Some interesting log data from zeoctl service
------------
2012-01-04T16:05:27 INFO ZEO.StorageServer (3194/127.0.0.1:60948) disconnected
------
2012-01-04T16:05:28 INFO ZEO.StorageServer (3194/127.0.0.1:60941) disconnected
------
2012-01-04T16:05:28 CRITICAL root daemon manager killed by SIGTERM
------
2012-01-04T16:05:28 INFO ZEO.StorageServer (3194/127.0.0.1:60940) disconnected
------
2012-01-04T16:30:32 INFO root daemonizing the process
------
2012-01-04T16:30:32 INFO root set current directory: '/opt/zenoss'
------
2012-01-04T16:30:32 INFO root daemon manager started
------
2012-01-04T16:30:32 INFO root spawned process pid=4487
------
2012-01-04T16:30:33 INFO ZEO.StorageServer (3194) new connection ('127.0.0.1', 32772): <ManagedServerConnection ('127.0.0.1', 32772)>
------
2012-01-04T16:30:33 INFO ZEO.StorageServer (3194) disconnected
------
2012-01-04T16:30:33 INFO root sleep 1 to avoid rapid restarts
------
2012-01-04T16:30:33 INFO root pid 4487: exit status 2; exiting now
------
2012-01-04T16:30:46 INFO ZEO.StorageServer (3194) new connection ('127.0.0.1', 32773): <ManagedServerConnection ('127.0.0.1', 32773)>
------
2012-01-04T16:30:46 INFO ZEO.zrpc.Connection(S) (127.0.0.1:32773) received handshake 'Z309'
------
2012-01-04T16:30:49 INFO ZEO.StorageServer (3194) new connection ('127.0.0.1', 32774): <ManagedServerConnection ('127.0.0.1', 32774)>
------
2012-01-04T16:30:49 INFO ZEO.zrpc.Connection(S) (127.0.0.1:32774) received handshake 'Z309'
------
2012-01-04T16:30:53 INFO ZEO.StorageServer (3194) new connection ('127.0.0.1', 32775): <ManagedServerConnection ('127.0.0.1', 32775)>
------
2012-01-04T16:30:53 INFO ZEO.zrpc.Connection(S) (127.0.0.1:32775) received handshake 'Z309'
------
2012-01-04T16:31:02 INFO ZEO.StorageServer (3194) new connection ('127.0.0.1', 32779): <ManagedServerConnection ('127.0.0.1', 32779)>
------
2012-01-04T16:31:02 INFO ZEO.zrpc.Connection(S) (127.0.0.1:32779) received handshake 'Z309'

--------------------------------------------------------------

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

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]
Yasha Zislin
2012-01-04 22:08:35 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
More updates.

I finally got the restore and migrate to work.
I think before the restore, I need to access the web gui atleast once to set admin pass and create a user.
After that zeoctl was starting and restore and zenmigrate worked.

Now, my web gui is not coming up.  :)

I've noticed that it is not using appache (ie httpd service). Where is the config for the web interface?

Thanks.
--------------------------------------------------------------

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

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-01-04 22:27:00 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Nice. It uses Zope. Zope can be started and stopped by zopectl. $ZENHOME/etc/zope.conf is where the config for zope resides.

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

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

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]
Yasha Zislin
2012-01-05 16:56:09 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Ok. So I was able to get the web gui to come up but the original error is still there.

This makes me believe something is not right in the data. But at the same time why does this happen for ALL windows based objects???

Is there a way to debug this somehow?

Thanks for your help Shane.
--------------------------------------------------------------

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

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]
Yasha Zislin
2012-01-05 18:52:27 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

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

I have started debuging the graph and here is what I have.
UsedBlocks data source points at the list of file systems. So if you have more than one, you will have a list. I've tried switching to just .1.
Next, I've taken out High Usage Threshold out of the picture. I am trying to get Used Blocks to display percentage.
In the properties of UsedBlocks data point it has the following RPN:
${here/getTotalBlocks},/,100,*

It is not working. Do you see anything wrong with it?
As far as I understand it should divide current value by total blocks and then multiple by 100 to get percentage.

I get the following error while rendering the graph.
error: invalid rpn expression in: usedBlocks-raw,(Tales expression error)
--------------------------------------------------------------

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

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]
Yasha Zislin
2012-01-18 15:06:46 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
So it looks like I was able to figure out the problem.
If anybody is interested here is what happened.

After plenty of troubleshooting I have decided to install Zenoss VM Appliance from scratch and add all of my devices and configuration manually. After doing so I've noticed why it was not working on my old install. Windows devices had an additional monitoring template assigned to them by "somebody". It was not meant for it so it had issues described in previous posts. By default that problematic template is not part of Windows devices.

Problem solved.
--------------------------------------------------------------

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

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-01-18 17:01:40 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
Yasha:

Interesting problem. I'm glad you got it worked out!

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

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

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]
Yasha Zislin
2012-01-04 20:40:16 UTC
Permalink
Yasha Zislin [http://community.zenoss.org/people/yzislin] created the discussion

"Re: Error in the graph"

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

--------------------------------------------------------------
According to http://community.zenoss.org/docs/DOC-4752 http://community.zenoss.org/docs/DOC-4752 documentation, there is a command called zenmigrate which is used when using backup/restore on  different versions.

-----
If you use these tools to go from an older version to a newer version, you should run *zenmigrate* after the restore operation.
------

--------------------------------------------------------------

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

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