mwcotton | 1 Nov 2008 03:56
Picon
Favicon

Re: Build a Performance Threshold using value from RRD?

I actually saw that on some post on this forum, I think it was something Chet mentioned. Its been a nice thing
to know

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27127#27127

-------------------- m2f --------------------
mwcotton | 1 Nov 2008 04:01
Picon
Favicon

Re: Report Parameter list

I bet you can do the dmd/devices/yourdevice/manage { enter}
click on properties and you will a bunch of stuff on the screen.
I think the serial number is on this page, try every other name shown there. I bet they will all work the same way

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27128#27128

-------------------- m2f --------------------
Sujoy Sarkar | 1 Nov 2008 06:09
Picon

Zenoss Core Integration Issues with Windows Event Log & Syslog

Hello,
 
We have tried to integrate Windows event log with Zenoss Core version 2.2.3 with the following integration scenario & results described. Event Class & Mapping were also defined following Zenoss Admin Guide. But we do not get Events Collected/Acknowledged at Zenoss Console. From the same discovered Windows box some events of perhaps pre-classified Event Class get's collected at times. So, we have the following questions:
 
[1] What is the right Event Class & Mapping Definition for collecting a particular Application specific syslog & event log? (We are trying to collect Events from Windows log and Linux syslog into Zenoss which are generated by applications which logs with specific content, event id etc.) Attched are two imgaes for Event Class/Mapping and Properties tab configured.
[2] We get errors like the outcome below in Zenoss log as well when we try to integrate events. So, is this kind of problems going to be get automatically solved and provide easy integration of Syslog & Event Log if we purchase/use Enterprise licensed version of Zenoss?
[3] Is there any professional support available for Zenoss Core to help understand this kind of issues & troubleshoot this kind of integration scenarios in Zenoss?
 
 

Inetgration Scenario

  • Create Windows Event in a Zenoss Discovered/Managed Windows system using some application/command so that Event of a given severity is visible in the Event Log of managed resource. (Windows Box)
C:\>eventcreate /t error /l system /id 23 /d "RMSG SaaS Event" SUCCESS: A 'error' type event is created in the 'system' log/source.C:\>eventcreate /t error /l system /id 88 /d "RMSG SaaS Event" SUCCESS: A 'error' type event is created in the 'system' log/source.

The above creates 2 event with ID 88 and 23 in Windows System Context.

  • Define appropriate Event Class and Mapping in the Zenoss so that same event(s) created above get's collected/acknowledged in Zenoss.

Outcome

  • Event does not get collected/acknowledged in Zenoss Console
  • Following Error is seen in /usr/local/zenoss/zenoss/log/zeneventlog.log
2008-10-31 19:30:13 ERROR zen.zeneventlog: Error fetching config
Traceback (most recent call last): File "/usr/local/zenoss/zenoss/Products/ZenWin/WinCollector.py", line 203, in reconfigure self.remote_updateThresholdClasses(driver.next()) File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 58, in next raise ex RemoteException: Remote exception: exceptions.AttributeError: 'ZenPack' object has no attribute '__of__'Traceback (most recent call last): File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 47, in inner return callable(*args, **kw) File "/usr/local/zenoss/zenoss/Products/ZenHub/services/ThresholdMixin.py", line 22, in remote_getThresholdClasses for pack in self.dmd.ZenPackManager.packs(): File "/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRe lationship.py", line 67, in __call__ return [ob.__of__(self) for ob in self._objects.values()] AttributeError: 'ZenPack' object has no attribute '__of__'
 
 
PS: I did not find a Zenoss Integration community, hence posting this question to ALL Zenoss communities so that it might get addressed somewhere faster.
 
 
Thanks,
-- sujoy
 
 
_______________________________________________
zenoss-users mailing list
zenoss-users <at> zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-users
sujoys | 1 Nov 2008 06:34
Picon

Zenoss Core Integration Issues - Windows Event Log & Syslog

Hello,

We have tried to integrate Windows event log with Zenoss Core version 2.2.3 with the following integration
scenario & results described. Event Class & Mapping were also defined following Zenoss Admin Guide. But
we do not get Events Collected/Acknowledged at Zenoss Console. From the same discovered Windows box some
events of perhaps pre-classified Event Class get's collected at times. So, we have the following questions:

[1] What is the right Event Class & Mapping Definition for collecting a particular Application specific
syslog & event log? (We are trying to collect Events from Windows log and Linux syslog into Zenoss which are
generated by applications which logs with specific content, event id etc.) Attched are two imgaes for
Event Class/Mapping and Properties tab configured. 
[2] We get errors like the outcome below in Zenoss log as well when we try to integrate events. So, is this kind
of problems going to be get automatically solved and provide easy integration of Syslog & Event Log if we
purchase/use Enterprise licensed version of Zenoss? 
[3] Is there any professional support available for Zenoss Core to help understand this kind of issues &
troubleshoot this kind of integration scenarios in Zenoss?

Inetgration Scenario 
•	Create Windows Event in a Zenoss Discovered/Managed Windows system using some
application/command so that Event of a given severity is visible in the Event Log of managed resource.
(Windows Box) 
C:\>eventcreate /t error /l system /id 23 /d "RMSG SaaS Event"

SUCCESS: A 'error' type event is created in the 'system' log/source.
C:\>eventcreate /t error /l system /id 88 /d "RMSG SaaS Event"
SUCCESS: A 'error' type event is created in the 'system' log/source.
The above creates 2 event with ID 88 and 23 in Windows System Context. 
•	Define appropriate Event Class and Mapping in the Zenoss so that same event(s) created above get's
collected/acknowledged in Zenoss. 
Outcome
•	Event does not get collected/acknowledged in Zenoss Console 
•	Following Error is seen in /usr/local/zenoss/zenoss/log/zeneventlog.log 
2008-10-31 19:30:13 ERROR zen.zeneventlog: Error fetching config
Traceback (most recent call last): File
"/usr/local/zenoss/zenoss/Products/ZenWin/WinCollector.py", line 203, in reconfigure
self.remote_updateThresholdClasses(driver.next()) File
"/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 58, in next raise ex
RemoteException: Remote exception: exceptions.AttributeError: 'ZenPack' object has no attribute
'__of__'Traceback (most recent call last): File
"/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 47, in inner return
callable(*args, **kw) File
"/usr/local/zenoss/zenoss/Products/ZenHub/services/ThresholdMixin.py", line 22, in
remote_getThresholdClasses for pack in self.dmd.ZenPackManager.packs(): File
"/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 67, in
__call__ return [ob.__of__(self) for o
 b in self._objects.values()] AttributeError: 'ZenPack' object has no attribute '__of__'

thanks,
-- sujoys

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27130#27130

-------------------- m2f --------------------
rlindell | 1 Nov 2008 18:48

zensyslog startup problem

I am running CentOS 4.7 w/ Zenoss Core as follows:

Zenoss   	Zenoss 2.2.0
OS 	Linux (i686) 2.6.9 (Linux 2.6.9-78.0.1.EL #1 Tue Aug 5 10:49:42 EDT 2008 i686)
Zope 	Zope 2.8.8
Python 	Python 2.4.4
Database 	MySQL 5.0.45 (Ver 5.0.45)
RRD 	RRDtool 1.2.26
Twisted 	Twisted 2.5.0
NetSnmp 	NetSnmp 5.1.2
PyNetSnmp 	PyNetSnmp 0.28.6
WMI 	Wmi 0.1.12

And startup seems to go OK:

Code:

[root <at> zenoss zenoss]# /etc/init.d/zenoss start
Daemon: zeoctl . daemon process started, pid=7557
Daemon: zopectl . daemon process started, pid=7561
Daemon: zenhub 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...
[root <at> zenoss zenoss]#

However, in the web GUI the zensyslog daemon shows as not running, and there is no log file.  Attempting to
start from GUI gives only:

Code:

2008-11-01T09:41:32 INFO zen.ZenossInfo Telling zensyslog to start

And nothing else.  FWIW the start event.log only has:

Code:

2008-11-01T10:12:19 INFO ZServer HTTP server started at Sat Nov  1 10:12:19 2008
        Hostname: 0.0.0.0
        Port: 8080
------
2008-11-01T10:12:20 WARNING OFS.Application Duplicate Product name
After loading Product 'Five' from '/opt/zenoss/Products',
I skipped the one in '/opt/zenoss/lib/python/Products'.

------
2008-11-01T10:12:20 INFO ZEO.ClientStorage (7561) ClientStorage (pid=7561) created RW/normal for
storage: '1'
------
2008-11-01T10:12:20 INFO ZEO.cache reusing persistent cache file '/opt/zenoss/var/zeo1-1.zec'
------
2008-11-01T10:12:23 INFO ZEO.ClientStorage (7561) Testing connection <ManagedClientConnection
('127.0.0.1', 8100)>
------
2008-11-01T10:12:23 INFO ZEO.zrpc.Connection(C) (localhost:8100) received handshake 'Z303'
------
2008-11-01T10:12:23 INFO ZEO.ClientStorage (7561) Server authentication protocol None
------
2008-11-01T10:12:23 INFO ZEO.ClientStorage (7561) Connected to storage: ('localhost.localdomain', 8100)
------
2008-11-01T10:12:23 INFO ZEO.ClientStorage (7561) No verification necessary (last_inval_tid up-to-date)
------
2008-11-01T10:12:23 INFO ZEO.ClientStorage (7561) Waiting for cache verification to finish
------
2008-11-01T10:12:25 INFO Zope Ready to handle requests
[root <at> zenoss log]#

Netstat confirms there is no listening on port 514.

Code:

netstat -an | grep :514

All other features and operations are working well/normally.  Any help on how to improve the logging or
otherwise understand why zensyslog is not starting/running is much appreciated.

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27131#27131

-------------------- m2f --------------------
rlindell | 1 Nov 2008 20:43

Re: zensyslog startup problem


-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27132#27132

-------------------- m2f --------------------
rlindell | 1 Nov 2008 20:43

Re: zensyslog startup problem


-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27133#27133

-------------------- m2f --------------------
rlindell | 1 Nov 2008 20:46

Re: zensyslog startup problem


-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27134#27134

-------------------- m2f --------------------
rlindell | 1 Nov 2008 20:50

Re: zensyslog startup problem

I have worked on this a bit more and coaxed an error out of Zenoss by following these instructions:
[url]
http://www.zenoss.com/community/docs/zenoss-guide/2.2.4/ch24s07.html
[/url]
And got this at startup:

Code:

WARNING:zen.ZenSyslog:Reconnected to ZenHub
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 317, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 507, in _cbDeferred
    self.callback(self.resultList)
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 239, in callback
    self._startRunCallbacks(result)
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 304, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 317, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 239, in callback
    self._startRunCallbacks(result)
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 290, in _startRunCallbacks
    raise AlreadyCalledError
twisted.internet.defer.AlreadyCalledError: 

However the '/zport/About/zenossInfo' still shows the zensyslog service as DOWN with no log
(.../log/zensyslog.log); yet something is now running on UDP 514:

Code:

[root <at> zenoss zenoss]# netstat -an | grep :514
udp        0      0 0.0.0.0:514                 0.0.0.0:*                               
[root <at> zenoss zenoss]# 

From:http://www.troubleshootingwiki.org/Troubleshooting_Zenoss

Is this what I need to improving logging?

Code:
zenstatus run -v10

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27135#27135

-------------------- m2f --------------------
jaylopez | 1 Nov 2008 21:34
Picon
Favicon

Re: Zenoss Core Integration Issues - Windows Event Log & Sys

1. There is not paid support at, least from Zenoss, for the CORE product, only community support.

2. For syslog there is a How To section in the Doc pages for using Zenoss as a Syslog Server with Datagram's
SyslogAgent (free) for Windows .

3. Another tutorial on how to use Syslog-NG with Zenoss. You can use Datagram's SyslogAgent to extend
Syslog-NG to Windows platforms.

4. There is also the WMI Files Monitor ZenPack for File Integrity Monitoring in Windows (similar to OSSEC or
Osisris but way more limited). 

Some users report in the forums that using Zenoss as a syslog server is a little slow. You probably should try
using Syslog-NG to send messages to Zenoss as a test.

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27136#27136

-------------------- m2f --------------------

Gmane