Quantcast
Channel: Zenoss Community : Popular Discussions - Forums
Viewing all 270 articles
Browse latest View live

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 :-)


Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss.

0
0

Hello,

 

I would like to upgrade Zenoss 3.2.1 to the latest version. I have downloaded the actual .rpm, got rid of many dependency failures and some more trouble, and now stuck at this:

 

"There was an error during the ZenPack operation: Command 'zenpack  --install /opt/zenoss/packs/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg' returned non-zero exit status 3

Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

 

When I´ve received it for the first time, it was followed by "Zenoss update complete". I´ve tried to delete that zenpack from the file as it suggests, but it didn´t help.

 

Anybody knows how to fix this? Or what I´m doing wrong?

Google Maps always geocodes

0
0

I am currently using Zenoss 4.2 on CentOS 64 bit. I have been attempting to display around 40 nodes (increasing in the future) in the Google Maps Portlet. My problem currently is that Zenoss wants to Geocode every time you return to the dashboard or refresh the page. All of my locations are currently entered in the form of latitude,longitude (ex. 32.044511,-89.841989). I have searched the forums and Internet for quite some time trying all of the solutions. Also, SP1 has been installed, which is suppose to fix the "Over_Query_Limit" message (which I not am currently concerned about or have that problem). It appears that I am never generating a cache file .

 

I also stumbled on a post about Zenoss 2.3 that had a similar issue and appeared to have a fix (http://community.zenoss.org/thread/8275), since I am entering lat,long coordinates in the first place . The problem is that the geomap.js file has evolved over time. Any help on this matter is greatly appreciated!

 

Thank you in advance

 

Drew

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

Can't zoom on Graphs

0
0

Hello there

 

As the name suggests, I cannot zoom, neither in nor out, on my graphs. I've tried in FireFox and Internet Explorer, no difference.

 

I am running Zenoss Version 3.1.0 on CentOS.

 

 

Thanks in advance

 

Best Regards,

Brian Pedersen

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 ?

Customizing Email Notifications

0
0

Hello,

 

I'm trying to customize the e-mail notifications sent out by Zenoss Core 3.0.3. Here's what I have so far.

 

Summary:

%(device)s %(summary)s

 

Body:

Device: %(device)s
Component: %(component)s
Severity: %(severityString)s
Time: %(firstTime)s
Message:
%(message)s
<a href="%(eventUrl)s">Event Detail</a>
<a href="%(ackUrl)s">Acknowledge</a>
<a href="%(deleteUrl)s">Delete</a>
<a href="%(eventsUrl)s">Device Events</a>

This works great for most devices, however any devices that are not registered in DNS only show the IP address in the notfication. For example I have a device named BURL-SERVER-UPS. IP address 192.168.17.98

 

When the up/down notification gets sent, it gives a notification saying:

 

192.168.17.98 ip 192.168.17.98 is up

 

What field can I use so that the notification shows the Device Name rather than the IP?

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 :-)


Can't keep zenhub running

0
0

I sure hope someone can help me figure this out.  Been through all the logs, forums, and anything else I can think of, so as a last resort, I'm reaching out the community.  I'm not a power linux user by any means, but  know enough to be dangerous, to give you some background.   All we need is simple monitoring and alerting, but without Zenhub, we don't get alerts, which isn't good.  Zenhub won't stay running for a more than 2-3 days at this point, and it's been that way for months.  There's nothing in the zenhub log.  It just stops.  I found this in zencommand log, which is the most information I can find on the issue.

 

2012-08-10 21:35:52,849 ERROR zen.zencommand: ZenHub is down

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 704, in doFetchConfig

    self.setPropertyItems(driver.next())

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result

    raise ex

HubDown: ZenHub is down

2012-08-10 21:35:53,342 ERROR zen.zencommand: ZenHub is down

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 752, in start

    driver.next()

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result

    raise ex

HubDown: ZenHub is down

2012-08-11 03:35:53,484 ERROR zen.zencommand: ZenHub is down

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 704, in doFetchConfig

    self.setPropertyItems(driver.next())

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result

    raise ex

HubDown: ZenHub is down

2012-08-11 03:35:53,685 ERROR zen.zencommand: ZenHub is down

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 752, in start

    driver.next()

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result

    raise ex

 

We are running this on Ubuntu Linux 12.04.1 and Zenoss is the latest version: Zenoss 3.2.1.

 

I'd truly appreciate some help in getting this fixed.  Please let me know if there is any other information I can provide.  Thank you in advance.

Help with Custom Map Zenpack

0
0
I have been working on a zenpack that will allow a user to create arbitrary custom maps somewhat in the style of zabbix. Some of the features I have been aiming for:
  • Maps can have arbitrary images as backgrounds.
  • Maps can contain devices or submaps
  • ZenPack contains drag and drop editor
  • Nodes images can be set to user icons, and their labels can be positioned on any side of the icon, or ommitted entirely
  • Portlet allows you to navigate through the maps, and updates itself
  • A map's status is dependant on the status of any nodes or submaps on it.
  • Edges can be plain lines, or arrows showing the amount of bandwidth on the interface they represent

 

The actual implementation of the portlet and the map editor is fairly solid right now. We are currently monitoring about 1800 devices, most of which have placed into these hand-drawn maps. The individual maps load very quickly, and the portlet updates the map image seamlessly every 30 seconds.

 

I am not very familiar with zope, and the more I try to learn, the less it makes sense to me. There are a number of issues I am trying to solve that I would love some help with:

  • The map editor is implemented as a tab in the Locations section. Each Location has a custom_map property that contains all the information needed to draw a map. I seem unable to make the tab show up consistently though. When I set a recursive function to add it to all the Location objects, it works on some and not the others.
  • I would like to find a way to make the tab show up for new Locations as well. I have tried monkey patching the base Location as well as the class it derives from, but neither seems to work.
  • The map drawing code relies on PIL. There is a namespace conflict between one of the PIL modules (ImageFile) and zenoss. I had to modify PIL slightly to avoid the conflict. Is there some way I can include this with the zenpack? Or is there some other api I should be using to draw the images.

Installation of zenoss 4.2 on ubuntu 12.04

0
0

Hi all,

Yesterday i learned that zenoss 4.2 has being released. how can't install it on ubuntu server 12.04 ?

Because i cannot see the .deb or the tar files to download on zenoss web site.

HOW TO CONFIGURE WMI ACCESS ON WINDOWS FOR A NON ADMIN USER

0
0
Hi,
If you, like me have to configure WMI access on Windows servers for a non admin user in order for Zenoss to read the eventlog etc, read on...

Introduction

Zenoss is able to read & query Windows servers via WMI  in order to obtain Eventlog information. Windows Management Instrumentation  (WMI) is the infrastructure for management data and operations on Windows-based  operating systems. WMI also supplies management data to other parts of the  operating system and products like zenoss. For security purposes you can use a limited domain user account to  access the WMI infrastructure and relevant components. The domain user acount has rights to only access the  appropriate areas of the server to obtain information for Zenoss.

As the  main objective is read & query the Windows event logs via WMI. Modifications  to the windows server security will need to have access granted to the specific  account (zenwmi) at 4 different levels in order for Zenoss to function  correctly and obtain the event log information the Windows team requires to be  displayed in Zenoss.

The following information describes the 4  levels or areas that require acess to be configured for the specific user.  These 4 requirements are all needed and are in logical order as one  follows on to the next as shown in this diagram attached .


1. DCOM

DCOM stands for Distributed COM and COM stands for  Component Object Model (COM). COM is the standard method for communication  between client/server apps and highlevel APIs for Windows developers. DCOM users  Remote Procedure Call to expose COM objects on a computer to remote clients on  other computers.
Prior to XP SP2 (and the introduction of these 2 DCOM  security settings), it was difficult for an administrator to assess or control  which COM objects were available to remote users and this is even more important  since COM objects can allow anonymous access. Each COM object has its own ACL  and you would have had to look at each COM object's ACL to determine if remote  access were allowed and to whom. This policy and DCOM: Machine Access  Restrictions In Security Descriptor Definition Language (SDDL) syntax put a  system wide access check that all DCOM clients (local or remote) must pass  before hitting the individual COM object's ACLs. This system-wide DCOM check is  like share permissions on a shared folder. Many files may be accessible through  a given network share and each file may have it's own unique permissions but you  must first pass the share level permissions before the file permissions are  checked.

Security in WMI is related to connecting to a WMI namespace. WMI  uses DCOM to handle remote calls. One reason for failure to connect to a remote  computer is due to a DCOM failure, Therefore, this is the first access that must  be granted to the specific user and happily can be granted by adding the user to  the local or domain distributed COM users group on the Server. There is a  domain GPO which adds the domain user to the relevant grounds need by  Zenoss. Specific user access can be granted by following & applying the  following link.
http://msdn.microsoft.com/en-us/library/aa393266.aspx

2. WMI

Windows Management Instrumentation (WMI) is the Microsoft  implementation of Web-based Enterprise Management (WBEM), which is an industry  initiative to develop a standard technology for accessing management information  in an enterprise environment. WMI uses the Common Information Model (CIM)  industry standard to represent systems, applications, networks, devices, and  other managed components. CIM is developed and maintained by the Distributed  Management Task Force (DMTF). The ability to obtain management data from remote  computers is what makes WMI useful. Remote WMI connections are made through  DCOM.

WMI provides a uniform interface for any local or remote  applications or scripts that obtain management data from a computer system, a  network, or an enterprise. The uniform interface is designed such that WMI  client applications and scripts do not have to call a wide variety of operating  system application programming interfaces (APIs). Many APIs cannot be called by  automation clients like scripts or Visual Basic applications. Other APIs do not  make calls to remote computers.

To obtain data from WMI, an application  like Zenoss accesses WMI Classes or provides data to WMI by writing a WMI  provider.

Namespace Access Settings

You can change the access to a WMI namespace using the WMI  Control or programmatically.
TermDescription
Execute MethodsPermits the user to execute  methods defined on WMI classes. Corresponds to the WBEM_METHOD_EXECUTE access  permission constant.
Full WritePermits full read, write,  and delete access to WMI classes and class instances, both static and dynamic.  Corresponds to the WBEM_FULL_WRITE_REP access permission constant.
Partial WritePermits write access to  static WMI class instances. Corresponds to the WBEM_PARTIAL_WRITE_REP access  permission constant.
Provider WritePermits write access to  dynamic WMI class instances. Corresponds to the WBEM_WRITE_PROVIDER access  permission constant.
Enable AccountPermits read  access to WMI class instances. Corresponds to the WBEM_ENABLE access permission  constant.
Remote EnablePermits access to  the namespace by remote computers. Corresponds to the WBEM_REMOTE_ACCESS access  permission constant.
Read SecurityPermits read-only access to  DACL settings. Corresponds to the READ_CONTROL access permission constant.
Edit SecurityPermits write access to  DACL settings. Corresponds to the WRITE_DAC access permission  constant.


This is the second access requirement that is  needed for Zenoss. For the DMSI Windows team, the zenwmi domain user is manually  given Remote Enable & Enable Account permissions to the CIMV2 class. This is  done by a user written program, WMISecurity that can be run in a command line.
The syntax is as follows:
WmiSecurity.exe /C="%computername%" /A /N=Root/CIMV2 /M=" DOMAIN\USER:REMOTEACCESS" /R

Specific user access can be granted by following &  applying the following link.
http://technet.microsoft.com/en-us/library/cc787533%28WS.10%29.aspx

3.  Service Control Manager

The service control manager (SCM) is started at system  boot. It is a remote procedure call (RPC) server, so that service configuration  and service control programs can manipulate services on remote machines. SCM  maintains a database of the installed services and driver services that allow  the operating system to start successfully, and provides a unified and secure  means of controlling them. The database, which is stored in the Windows system  registry, includes configuration and security information about each service or  driver service.

System administrators should use the Services snap-in or  the sc.exe command-line tool to query or configure services.

The service  functions provide an interface for the following tasks performed by the  SCM:

Maintaining the database of installed services.
Starting services  and driver services either upon system startup or upon demand.
Enumerating  installed services and driver services.
Maintaining status information for  running services and driver services.
Transmitting control requests to  running services.
Locking and unlocking the service database.

Zenoss  requires access to this manager in order to scan the machine for which windows  services are installed on it and subsequently provide status information on the  event page besides gaining access to the eventlog (which is a service). This is  the third access requirement which needs to be modified for Zenoss. This is  configured by command line (sc.exe) and is also included in the tasks section of  the automatic network install. Specific user access is the only method of  configuration for this type of access & can be granted by following &  applying the following link.
http://support.microsoft.com/kb/907460

The command line used for Windows servers is:
sc sdset  SCMANAGER  D:(A;;CC;;;AU)(A;;CCLCRPWPRC;;;SY)(A;;KA;;;BA)(A;;CCLCRPRC;;;IU)(A;;CCLCRPRC;;;SU)(A;;CCLCRPRC;;;S-1-5-21-1248577188-10479689-3873521419-99999)S:(AU;FA;KA;;;WD)(AU;OIIOFA;GA;;;WD)

4. Event  Log Permissions

Finally to read and list the Windows events in Zenoss  event page, the user defined in the properties of Zenoss Orangiser has to be  given rights to read the log. Unfortuntely as you have just read, you are not  able to just add the rights to the event log and be done with it, the above  modifications needed to have been actioned beforehand. The easiest way to perfom  this task for the hundreds of Windows servers at Sopra was to create a domain  wide GPO.

A policy setting determines which user accounts have access  to log files and what usage rights are granted. Individual setting may be  specified for each of the Application, Security, Setup, and System event log  channels. For Zenoss each Log must by modified in order the the ZenEventlog  connection is UP.

Enabling this setting allows you to enter a security  descriptor for the log file. The security descriptor controls who can read,  write, or clear the event log. You enter the security descriptor using Security  Definition Description Language (SDDL) as we have read above. The following link  explains how to add specific user access to the Eventlog via a GPO
http://support.microsoft.com/default.aspx/kb/323076

The structure of the Eventlog key is as follows:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application,Security,System,CustomLog

Note that domain controllers record events in the  Directory service and File Replication service logs and DNS servers record  events in the DNS server.

CustomSD Restricts access to the event log.  This value is of type REG_SZ. The format used is Security Descriptor Definition  Language (SDDL). Construct an ACL that grants one or more of the following  rights:

  • Read (0x0001)
  • Write (0x0002)
  • Clear (0x0004)

To be a syntactically valid SDDL, the CustomSD value  must specify an owner and a group owner (for example, O:BAG:SY), but the owner  and group owner are not used. If CustomSD is set to a wrong value, an event is  fired in the System event log when the event log service starts, and the event  log gets a default security descriptor which is identical to the original  CustomSD value for the Application log. SACLs are not supported.

The SDDL  permissions used for Windows servers  is:
O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3)(A;;0x1;;;S-1-5-21-1248577188-10479689-3873521419-99999)

Error  Summary

I have figured out the following after lots of trial and  error. It is a logical process, almost like walking through one security door  after another to get to the windows Eventlog. If you see the following  ZenWinor ZenEventlogerrors in the event page you need to check the  relevant section or link to determine where the fault  lies.


Component: ZenWin
Message: Could not read the status of  Windows services (NT_STATUS_ACCESS_DENIED). Check your  username/password settings and verify network connectivity.

Component:  ZenEventlog
Message: Could not read the Windows event log (NT_STATUS_ACCESS_DENIED). Check your  username/password settings and verify network connectivity.

This error  relates to the DCOM Permissions& is  resolved by implementing
http://msdn.microsoft.com/en-us/library/aa393266.aspx, check that the ZenWMI user is a member of the Distributed COM users  group on the server.


Component: ZenWin
Message: Could not read the  status of Windows services (NT code  0x80041003). Check your username/password settings and verify network  connectivityconnectivity.

Component: ZenEventlog
Message: Could not  read the Windows event log (NT code  0x80041003). Check your username/password settings and verify network  connectivity

This error relates to the WMI  Permissions& is resolved by implementing
http://technet.microsoft.com/en-us/library/cc787533.aspx, Check to see that the ZenWMI users has Enable Account & Remote  Enable access to the CIMV2 namespace in WMI Control on the  server

Component: ZenWin
Message: Could not read the status of Windows  services (NT code 0x80041001). Check  your username/password settings and verify network connectivity

This  error relates to the SCM Permissions& is  resolved by implementing
http://support.microsoft.com/kb/907460, check to see if the ZenWMI user Unique SID has been added to the  SCM SSDL, type "sc sdhow scmanager", if not copy and pase the above command,  once this is done you should get a cleared "zenwin wmi connection is up"  message

Component: ZenWin
Message: Could not read the status of  Windows services (NT code 0xc002001b). Check your username/password settings and verify network  connectivity.

Component: ZenEventlog
Message: Could not read the  Windows event log (NT code  0xc002001b). Check your username/password settings and verify network  connectivity.

This error relates to the Eventlog Permissions& is resolved by  implementing
http://support.microsoft.com/kb/323076,  As this is set by GPO, check to see if the GPO was correctly enforced and use  the regisitry editior to check that the above SDDL is present, goto  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\"LOG" and read the  Custom SD string value, once this is modified correctly, you should get a  cleared "zeneventlog wmi connection is up" message

Other  Errors

Component: ZenEventlog
Message: Could not read the  Windows event log (ExecNotificationQuery  (WBEM_E_ACCESS_DENIED)). Check your username/password settings and  verify network connectivity.

This usually relates to an missing EventLog  permission and that the SSDL has not been applied to all the event logs,  application system, security, etc.

Component: ZenPerfwmi
Message:  Could not read the WMI value (NT code  0x80010105). Check your username/password settings and verify network  connectivity.

I forget.. will have to recall how I fixed it... I think it  was due to the "users" group being removed the right to log
onto the computer in the local policy..

Component:  ZenPerfwmi
Message: Could not read the WMI value (NT code 0x80041010). Check your  username/password settings and verify network connectivity.

This usually  relates to a missing WMI namespace, check that Service pack 2 is installed,or  recreate/reset the WMI namespaces.
The command  winnts2k\system32\wbem\wmiadap.exe /f will often restore missing WMI performance  counters.

Sources:
http://msdn.microsoft.com/en-us/library/aa392740%28VS.85%29.aspx
http://support.microsoft.com/kb/820847
http://msdn.microsoft.com/en-us/library/aa394528%28VS.85%29.aspx

Final thanks to all the forum members for their help and input over time.

Alzoo

Can't keep zenhub running

0
0

I sure hope someone can help me figure this out.  Been through all the logs, forums, and anything else I can think of, so as a last resort, I'm reaching out the community.  I'm not a power linux user by any means, but  know enough to be dangerous, to give you some background.   All we need is simple monitoring and alerting, but without Zenhub, we don't get alerts, which isn't good.  Zenhub won't stay running for a more than 2-3 days at this point, and it's been that way for months.  There's nothing in the zenhub log.  It just stops.  I found this in zencommand log, which is the most information I can find on the issue.

 

2012-08-10 21:35:52,849 ERROR zen.zencommand: ZenHub is down

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 704, in doFetchConfig

    self.setPropertyItems(driver.next())

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result

    raise ex

HubDown: ZenHub is down

2012-08-10 21:35:53,342 ERROR zen.zencommand: ZenHub is down

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 752, in start

    driver.next()

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result

    raise ex

HubDown: ZenHub is down

2012-08-11 03:35:53,484 ERROR zen.zencommand: ZenHub is down

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 704, in doFetchConfig

    self.setPropertyItems(driver.next())

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result

    raise ex

HubDown: ZenHub is down

2012-08-11 03:35:53,685 ERROR zen.zencommand: ZenHub is down

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 752, in start

    driver.next()

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result

    raise ex

 

We are running this on Ubuntu Linux 12.04.1 and Zenoss is the latest version: Zenoss 3.2.1.

 

I'd truly appreciate some help in getting this fixed.  Please let me know if there is any other information I can provide.  Thank you in advance.

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.

Installation of zenoss 4.2 on ubuntu 12.04

0
0

Hi all,

Yesterday i learned that zenoss 4.2 has being released. how can't install it on ubuntu server 12.04 ?

Because i cannot see the .deb or the tar files to download on zenoss web site.


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

False Positive alerts on httpd monitoring

0
0

We are seeing a lot of false positive alerts monitoring httpd on our main web servers. This has happened on these two machines on all zenoss versions since V2.3.  The OS process registers as /usr/sbin/httpd which is correct and always monitors properly.  However, we get alerts consistently saying httpd is down.  For the process setup we have tried the regex as just httpd and as ^.*\/*httpd, it doesn't seem to matter.  I have remodelled the devices numerous times, deleted the OS process, added it back manually, had it added back by remodelling. I've also locked the process, and had them unlocked.  It doesn't seem to matter what I do, the OS tab shows that /usr/sbin/httpd is up and running properly, but I get tons of alerts saying process httpd is down.

 

I have searched for solutions but found none.  I am running V2.5.1 now.

 

Any ideas on how to fix this?

Google Maps always geocodes

0
0

I am currently using Zenoss 4.2 on CentOS 64 bit. I have been attempting to display around 40 nodes (increasing in the future) in the Google Maps Portlet. My problem currently is that Zenoss wants to Geocode every time you return to the dashboard or refresh the page. All of my locations are currently entered in the form of latitude,longitude (ex. 32.044511,-89.841989). I have searched the forums and Internet for quite some time trying all of the solutions. Also, SP1 has been installed, which is suppose to fix the "Over_Query_Limit" message (which I not am currently concerned about or have that problem). It appears that I am never generating a cache file .

 

I also stumbled on a post about Zenoss 2.3 that had a similar issue and appeared to have a fix (http://community.zenoss.org/thread/8275), since I am entering lat,long coordinates in the first place . The problem is that the geomap.js file has evolved over time. Any help on this matter is greatly appreciated!

 

Thank you in advance

 

Drew

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 ?

Customizing Email Notifications

0
0

Hello,

 

I'm trying to customize the e-mail notifications sent out by Zenoss Core 3.0.3. Here's what I have so far.

 

Summary:

%(device)s %(summary)s

 

Body:

Device: %(device)s
Component: %(component)s
Severity: %(severityString)s
Time: %(firstTime)s
Message:
%(message)s
<a href="%(eventUrl)s">Event Detail</a>
<a href="%(ackUrl)s">Acknowledge</a>
<a href="%(deleteUrl)s">Delete</a>
<a href="%(eventsUrl)s">Device Events</a>

This works great for most devices, however any devices that are not registered in DNS only show the IP address in the notfication. For example I have a device named BURL-SERVER-UPS. IP address 192.168.17.98

 

When the up/down notification gets sent, it gives a notification saying:

 

192.168.17.98 ip 192.168.17.98 is up

 

What field can I use so that the notification shows the Device Name rather than the IP?

Viewing all 270 articles
Browse latest View live




Latest Images