Quantcast
Channel: Zenoss Community : Popular Discussions - All Communities
Viewing all 220 articles
Browse latest View live

Linux memory thresholds

0
0
I'm sure someone else has had and solved this problem, but short of writing a plugin to handle it, I'm at a bit of a loss.

Linux "free memory" is actually the sum of three components in SNMP and Zenoss - real memory, cached memory, and buffers.

When setting up a memory threshold in Zenoss for a Linux server, you want the threshold to be against the sum of those three, not just real memory (because a very active server could have virtually no "real memory" free because it's all tied up in gigs of cache and buffers, which is a completely normal situation and that memory will be reclaimed by applications as needed).

Unfortunately, Zenoss only allows thresholding against a single datapoint, making it essentially useless for thresholding memory usage on Linux servers (Sun, for instance, doesn't have this problem as it reports free memory in one "chunk").

Has anyone else already solved this problem? It seems a shame to even consider writing a plugin to handle this, having to deploy it to each server, and wasting the additional CPU cycles to return data that Zenoss already has.

Rodney

Zenoss 4.2 Maps Portlet error "OVER_QUERY_LIMIT"

0
0

Having tried Zenoss and loving it i'm begining to fill it with routers i'm monitoring on the internet.
Als goes well and there's lots of info when something doesnt work or when you don't no how.
Great Community ;-)

 

But now i'm running in to an error i can't find on the forum and don't know how so solve.


I now have 30 routers on 30 diferent locations set up in Zenoss.
But now the Google Maps Portlet gives when the counter hits 14 of 30 the error :


"Google could not process addresses. Reason: OVER_QUERY_LIMIT"

 

My first thought. The google maps rquest limit of 25k (I don't have that many mappoint yet but maybee through some error)

But that was'nt the case. The report says about 100 query's on the google page for the first two days of testing.


I see somebody mentions(but for a complete different application) that there is a limit of adresses you can send to google in 1 or 2 seconds.

Kan this be limited in Zenoss so there will be a small delay in geo looking up. Or does anybody know where this error coems from

 

 

 

Also, if i'm not mistaking . Zenoss should cache the adresses so it doesn't have to look them up all the time , right ?

Everytime i get to the dashboard it starts over again with lookip up 1 0f 30 2 of 30 until 13 or 14 and then the error.


I already dit al clear geocache in the Infrastructure menu and also restarted zenoss a couple of times

 

 

Any help is welkom, i'm setting this up to convince my superior to switch to Zenoss in stead of OpenNMS an Nagios ;-)

 

 

Picture of error is attached

 

 

LITTLE UPDATE:

 

 

As far as i can check it should not re-geolocate every adres everytime.
I made a sub location container with 5 adresses. This works because i don't hit the 13 limit.
But ervery time i switch from and back to the dashboard is re-geolocates the adresses.So no cache is being used what so ever.
If i hit the 14 in this container i also get the query limit error again. But if it would cache i would have 3 times the error and then it would use the cached location

 

So where can i find the file or database entry where the cache is beining supposed to be build up, anyone ?

Failed to install service winexesvc

0
0
Hi

Was wondering if anyone could help? We were trying to pick up SNMP data from process from windows servers and were coming across this error:

ERROR: Failed to install service winexesvc - NT code 0x00000424

This is the command we used to try and install the win exe service:

/usr/local/zenoss/common/bin/winexe -U OURDOMAIN/monitoring%secretpasswd //192.168.1.2x "ipconfig /all"

Any help would be much appreciated with this one! :? :?

Event Alert Variable list?

0
0
To save those who don't like a book I'll put my question up top and then the history will follow:

Main Question:
is there a list of all the Event Variables and their criteria to using them in email alerts available?

History:
I'll admit I'm a Newbie to Zenoss, about 3 weeks old now, but this forum and the manual have been great in getting us running. We've just ordered Zenoss Core Network and System Monitoring by Michael Badger and are verry pleased by what we have seen Zenoss do in this short time.
We were about to enter phase 2 of our testing/rollout, when I thought I'd revamp the Event alerts, to make them more user friendly. Using the Forum I found you could use most HTML as long as you had <! at the end of each line to comment out the <cr> Zenoss attaches. Simple enough, but I wanted to see how each Piece of information came through the email perhaps there was a transform or two I could use.

I copied the list found on the bottom of the Alerts window added the "%(" and the ")s" and pasted that into my alerts, sadly that broke then alerts.

Normally if you break the HTML in an alert it sends the default alert, but according to this I broke the SQL in an alert (see below) and it sends nothing. I've reverted my alerts to their previous form and they send again but two questions remain:

Questions:
What variable broke the alert?
(Main question from above)
Is there a list of all the Event Variables and their criteria to using them in email alerts available?

Log:
Here is the log from ZenActions, showing I broke the SQL on the alerts

 

 

2008-10-03 17:47:45 INFO zen.ZenActions: processed 1 rules in 0.01 secs
2008-10-03 17:48:45 INFO zen.ZenActions: Processed 0 commands in 0.000045
2008-10-03 17:48:45 WARNING zen.ZenActions: SELECT prodState,firstTime,facility,eventClassKey,agent,dedupid,manager,Location,ownerid,stateChange,eventClass,id,DevicePriority,suppid,priority,DeviceClass,eventKey,monitor.,evid,eventClassMapping,component,clearid,DeviceGroups,eventGroup,ntevid,device,severity,count,message,summary,eventState,lastTime,ipAddress,Systems,severity,summary, evid FROM status WHERE (prodState <= 1000) and (eventState = 0) and (severity >= 2) AND evid NOT IN (SELECT evid FROM alert_state WHERE userid='admin' AND rule='Testing' )
2008-10-03 17:48:45 ERROR zen.ZenActions: action:Testing
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 220, in processRules
self.processEvent(zem, ar, actfunc)
File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 246, in processEvent
for result in self.query(q):
File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 182, in query
curs.execute(stmt)
File "/usr/local/zenoss/python/lib/python2.4/site-packages/MySQLdb/cursors.py", line 137, in execute
self.errorhandler(self, exc, value)
File "/usr/local/zenoss/python/lib/python2.4/site-packages/MySQLdb/connections.py", line 33, in defaulterrorhandler
raise errorclass, errorvalue
ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'evid,eventClassMapping,component,clearid,DeviceGroups,eventGroup,ntevid,device,s' at line 1")
2008-10-03 17:48:45 INFO zen.ZenActions: processed 1 rules in 0.01 secs




Current Specs:
Zenoss 2.2.4 on Red Hat 5
100 Dell Servers Monitored with
|-Open Manage 5.4
|-SNMP-informant installed
MIBs uploaded and Traps flowing as intended
Basic HTML Email Alerts going out

Like I said we are on the verge of phase 2, and everyone here has been helpful, simply in the amount of information available to anyone who searches the forums... I just haven't seen this yet

Zenoss + Apache mod_proxy

Problem with WMI - Zenoss wmic

0
0

Hello all,
we've got problem with WMI. Calling WMI (Windows 2003) from Zenoss
gives error message. (There is right zWinPassword and zWinUser in
zProperties, of course).

The same error gives program wmic too:

 

# /usr/local/zenoss/common/bin/wmic -U USERTEST/Administrator%password //10.1.1.50 "select * from Win32_ComputerSystem"
[librpc/rpc/dcerpc_util.c:1290:dcerpc_pipe_auth_recv()] Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_END_OF_FILE
[librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000022) in dcerpc_pipe_connect_b_recv
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied

 

When we have tested WMI locally in Windows 2003 all has been all right.

 

Would somebody tell me there is problem and how solve it?
Thank you very much for your help.
Have a nice day.

4.2 Install Script for Ubuntu 12.04 (Working)

0
0

Hello,

 

My ties with Ubuntu are deep, so I decided to write and share an install script for Zenoss 4.2.0. I've tested it with multiple installations, and so far everything is working like it should.

 

Any beta testers?

 

Notes: Ubuntu 12.04.1 x64 Server, fresh install, fully patched

 

Links: Blog Post with notes and full script

 

 

What would be the proper method to get Ubuntu as a supported operating system? I'm new to this community.

Zenoss + Apache mod_proxy


snmpwalk Timeout: No response from...

0
0

Hello,

 

I'm having trouble getting snmp configured for one of my servers. I'm able to get a result from the command "snmpwalk localhost -c public -v1" on the machine itself, but I'm unable to get anything but a timeout error when using the snmpwalk command in Zenoss.

 

I've looked through the "Configuration of NetSnmp for use with Zenoss" (http://community.zenoss.org/docs/DOC-2502) and "How to Troubleshoot SNMP" (http://community.zenoss.org/docs/DOC-2538) documentation and used the suggested configurations. I've also double-checked my user/pass settings in the device's zProperties, but am still unable to get a response.

 

It's a *nix boxed used for storage, so no mysql/apache/etc. Does anyone have any idea what else might be causing the problem?

 

Thanks.

-interploy

Zenoss 4.2 Maps Portlet error "OVER_QUERY_LIMIT"

0
0

Having tried Zenoss and loving it i'm begining to fill it with routers i'm monitoring on the internet.
Als goes well and there's lots of info when something doesnt work or when you don't no how.
Great Community ;-)

 

But now i'm running in to an error i can't find on the forum and don't know how so solve.


I now have 30 routers on 30 diferent locations set up in Zenoss.
But now the Google Maps Portlet gives when the counter hits 14 of 30 the error :


"Google could not process addresses. Reason: OVER_QUERY_LIMIT"

 

My first thought. The google maps rquest limit of 25k (I don't have that many mappoint yet but maybee through some error)

But that was'nt the case. The report says about 100 query's on the google page for the first two days of testing.


I see somebody mentions(but for a complete different application) that there is a limit of adresses you can send to google in 1 or 2 seconds.

Kan this be limited in Zenoss so there will be a small delay in geo looking up. Or does anybody know where this error coems from

 

 

 

Also, if i'm not mistaking . Zenoss should cache the adresses so it doesn't have to look them up all the time , right ?

Everytime i get to the dashboard it starts over again with lookip up 1 0f 30 2 of 30 until 13 or 14 and then the error.


I already dit al clear geocache in the Infrastructure menu and also restarted zenoss a couple of times

 

 

Any help is welkom, i'm setting this up to convince my superior to switch to Zenoss in stead of OpenNMS an Nagios ;-)

 

 

Picture of error is attached

 

 

LITTLE UPDATE:

 

 

As far as i can check it should not re-geolocate every adres everytime.
I made a sub location container with 5 adresses. This works because i don't hit the 13 limit.
But ervery time i switch from and back to the dashboard is re-geolocates the adresses.So no cache is being used what so ever.
If i hit the 14 in this container i also get the query limit error again. But if it would cache i would have 3 times the error and then it would use the cached location

 

So where can i find the file or database entry where the cache is beining supposed to be build up, anyone ?

POSKeyError for one device

0
0

Hi all,

 

For an unknown reason, it seems that we have hit logical corruption in zope database. When we try to access one specific device in Zenoss web interface, no information about the device appears on the page and a yellow banner pop up with following error message "POSKeyError:0x049397".

 

After some researches, I found http://wiki.zenoss.org/Fixing_ZODB_Integrity_Issues page. I have already try the three solutions without success.

 

Last outout of zenoss-repairdevice.py script:

 

Checking censored.hostname.com

ERROR:ZODB.Connection:Couldn't load state for 0x04939f

Traceback (most recent call last):

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line 860, in setstate

    self._setstate(obj)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line 901, in _setstate

    p, serial = self._storage.load(obj._p_oid, '')

  File "/opt/zenoss/lib/python/relstorage/storage.py", line 476, in load

    raise POSKeyError(oid)

POSKeyError: 0x04939f

Traceback (most recent call last):

  File "./zenoss-repairdevice.py", line 93, in <module>

    processOneDevice(dev)

  File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g

    r = f(*args, **kwargs)

  File "./zenoss-repairdevice.py", line 78, in processOneDevice

    dev.checkRelations(repair=True)

  File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 257, in checkRelations

    rel.checkRelation(repair)

  File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 286, in checkRelation

    if len(self._objects):

  File "/opt/zenoss/lib/python2.7/UserList.py", line 30, in __len__

    def __len__(self): return len(self.data)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line 860, in setstate

    self._setstate(obj)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line 901, in _setstate

    p, serial = self._storage.load(obj._p_oid, '')

  File "/opt/zenoss/lib/python/relstorage/storage.py", line 476, in load

    raise POSKeyError(oid)

ZODB.POSException.POSKeyError: 0x04939f

 

Any help appreciated :-)

Problem with WMI - Zenoss wmic

0
0

Hello all,
we've got problem with WMI. Calling WMI (Windows 2003) from Zenoss
gives error message. (There is right zWinPassword and zWinUser in
zProperties, of course).

The same error gives program wmic too:

 

# /usr/local/zenoss/common/bin/wmic -U USERTEST/Administrator%password //10.1.1.50 "select * from Win32_ComputerSystem"
[librpc/rpc/dcerpc_util.c:1290:dcerpc_pipe_auth_recv()] Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_END_OF_FILE
[librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000022) in dcerpc_pipe_connect_b_recv
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied

 

When we have tested WMI locally in Windows 2003 all has been all right.

 

Would somebody tell me there is problem and how solve it?
Thank you very much for your help.
Have a nice day.

Zenoss + Apache mod_proxy

Graphs are empty and have "nan" for values

0
0

I'm pretty new to Zenoss and could use any advice on the following issue.

 

We are running Zenoss v3.0-v03 monitoring Windows Servers.  One server in particular has 3 graphs that are blank and the values are "nan", but all the other graphs are populated and have the correct values listed.  The graphs used to be populated with information as well as the values.

 

The other Windows servers we are monitoring don't have this issue.  All graphs are normal. 

 

If I try to create a new graph I get the same results, they are blank with "nan" for values.

 

Any assistance would be appreciated.

 

Thanks

Zenoss 4.2 Maps Portlet error "OVER_QUERY_LIMIT"

0
0

Having tried Zenoss and loving it i'm begining to fill it with routers i'm monitoring on the internet.
Als goes well and there's lots of info when something doesnt work or when you don't no how.
Great Community ;-)

 

But now i'm running in to an error i can't find on the forum and don't know how so solve.


I now have 30 routers on 30 diferent locations set up in Zenoss.
But now the Google Maps Portlet gives when the counter hits 14 of 30 the error :


"Google could not process addresses. Reason: OVER_QUERY_LIMIT"

 

My first thought. The google maps rquest limit of 25k (I don't have that many mappoint yet but maybee through some error)

But that was'nt the case. The report says about 100 query's on the google page for the first two days of testing.


I see somebody mentions(but for a complete different application) that there is a limit of adresses you can send to google in 1 or 2 seconds.

Kan this be limited in Zenoss so there will be a small delay in geo looking up. Or does anybody know where this error coems from

 

 

 

Also, if i'm not mistaking . Zenoss should cache the adresses so it doesn't have to look them up all the time , right ?

Everytime i get to the dashboard it starts over again with lookip up 1 0f 30 2 of 30 until 13 or 14 and then the error.


I already dit al clear geocache in the Infrastructure menu and also restarted zenoss a couple of times

 

 

Any help is welkom, i'm setting this up to convince my superior to switch to Zenoss in stead of OpenNMS an Nagios ;-)

 

 

Picture of error is attached

 

 

LITTLE UPDATE:

 

 

As far as i can check it should not re-geolocate every adres everytime.
I made a sub location container with 5 adresses. This works because i don't hit the 13 limit.
But ervery time i switch from and back to the dashboard is re-geolocates the adresses.So no cache is being used what so ever.
If i hit the 14 in this container i also get the query limit error again. But if it would cache i would have 3 times the error and then it would use the cached location

 

So where can i find the file or database entry where the cache is beining supposed to be build up, anyone ?


snmpwalk Timeout: No response from...

0
0

Hello,

 

I'm having trouble getting snmp configured for one of my servers. I'm able to get a result from the command "snmpwalk localhost -c public -v1" on the machine itself, but I'm unable to get anything but a timeout error when using the snmpwalk command in Zenoss.

 

I've looked through the "Configuration of NetSnmp for use with Zenoss" (http://community.zenoss.org/docs/DOC-2502) and "How to Troubleshoot SNMP" (http://community.zenoss.org/docs/DOC-2538) documentation and used the suggested configurations. I've also double-checked my user/pass settings in the device's zProperties, but am still unable to get a response.

 

It's a *nix boxed used for storage, so no mysql/apache/etc. Does anyone have any idea what else might be causing the problem?

 

Thanks.

-interploy

Web Interface hangs every 5 mins

0
0

Hey....

 

I'm experiencing the following problem:

 

Every five minutes the zenoss web gui hangs... obviously making it impossible for me to do stuff..

 

My setup is as following:


OS: CentOS 5,5 x64

Zenoss stack 3.1.0

Running distributed setup(at the moment with only one remote collector)

 

 

Any insight on the issue?

Failed to install service winexesvc

0
0
Hi

Was wondering if anyone could help? We were trying to pick up SNMP data from process from windows servers and were coming across this error:

ERROR: Failed to install service winexesvc - NT code 0x00000424

This is the command we used to try and install the win exe service:

/usr/local/zenoss/common/bin/winexe -U OURDOMAIN/monitoring%secretpasswd //192.168.1.2x "ipconfig /all"

Any help would be much appreciated with this one! :? :?

New IP-SLA Enumeration/Monitoring ZenPack

0
0
Thanks to Shane Scott for providing his new IP-SLA Enumeration/
Monitoring ZenPack. The ZenPack discovers, enumerates and allows
monitoring of SLAs. SLA objects are children of the parent SLA
appliance. The ZenPack provides 3 templates HTTP, New_SLA and VoIP
under the device class /Devices/Network/IPSLA.

IP-SLA Enumeration/Monitoring: http://www.zenoss.com/community/projects/zenpacks/ip_sla
IP-SLA Enumeration/Monitoring Wiki: http://community.zenoss.org/trac-zenpacks/wiki/ZenPacksipSLASLADevice

Thanks Shane!

Thanks,Matt Ray
Zenoss Community Manager
community.zenoss.com
mray@zenoss.com






_______________________________________________
zenoss-zenpacks mailing list
zenoss-zenpacks@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-zenpacks

Problem with WMI - Zenoss wmic

0
0

Hello all,
we've got problem with WMI. Calling WMI (Windows 2003) from Zenoss
gives error message. (There is right zWinPassword and zWinUser in
zProperties, of course).

The same error gives program wmic too:

 

# /usr/local/zenoss/common/bin/wmic -U USERTEST/Administrator%password //10.1.1.50 "select * from Win32_ComputerSystem"
[librpc/rpc/dcerpc_util.c:1290:dcerpc_pipe_auth_recv()] Failed to bind to uuid 4d9f4ab8-7d1c-11cf-861e-0020af6e7c57 - NT_STATUS_END_OF_FILE
[librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000022) in dcerpc_pipe_connect_b_recv
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied

 

When we have tested WMI locally in Windows 2003 all has been all right.

 

Would somebody tell me there is problem and how solve it?
Thank you very much for your help.
Have a nice day.

Viewing all 220 articles
Browse latest View live




Latest Images