Quantcast
Channel: Zenoss Community : Discussion List - zenoss-users
Viewing all 1084 articles
Browse latest View live

SNMP COMMAND Datasource graphing issue

$
0
0

Hello,

 

I have been looking for the correct way to compose my COMMAND Datasource string and get the resulting output into the performance graphs.

 

1st off; the problem. I am monitoring 800 Mikrotik devices, and need to graph signal strengh (TX/RX). When I create the SNMP datasource, I need to use the exact OID in order to get data graphing. As I understand; this is because Zenoss uses SNMPGET, not SNMPWALK to get the information.

 

The issue is that the OID's that I am monitoring contains the mac address and/or a unique ending identifier of the client radio card to the OID. Each OID would then be unique.

 

I have been researching how to get around this, so I don't have to create a local copy of the template for every device.

 

Example:

 

SNMPWALK against this OID 1.3.6.1.4.1.14988.1.1.1.1.1.4 produces the following:

 

SNMPv2-SMI::enterprises.14988.1.1.1.1.1.4.5 = INTEGER: -76

 

Note the .5 at the end of the OID. This is because SNMPWALK walks the tree. Each device has it's own ending digit that changes from device to device; so walking is the method to collect this for all devices on a global template.

 

Another example:

 

SNMPWALK against this OID 1.3.6.1.4.1.14988.1.1.1.2.1.3 produces the following:

 

SNMPv2-SMI::enterprises.14988.1.1.1.2.1.3.0.21.109.100.166.139.5 = INTEGER: -76

 

0.21.109.100.166.139.5 is thebinary mac address for the Access Point's radio card. Again, I would like to use SNMPWALK to graph these datapoints vs SNMPGET so that I can set a global template to gather the desired results for all devices without local templates for each one.

 

I have created a COMMAND Datasource with the following in the command line:

 

snmpwalk -cwH7V]kf^ -v1 -c${device/zSnmpCommunity} ${here/manageIp} 1.3.6.1.4.1.14988.1.1.1.2.1.3

 

I can use zentestcommand -v10 -d {any Mikrotik device} --datasource=RX_Strength, and get the following results:

 

SNMPv2-SMI::enterprises.14988.1.1.1.2.1.3.0.21.109.100.166.139.5 = INTEGER: -76

 

This would indicate to me that the above COMMAND syntax is correct ... however, I cannot graph these datapoints.

 

As with SNMP Datasources; Zenoss automatically creates the Data Points, but the COMMAND Datasource does not. I manually added the Data Point using the same name as the Datasource; created performance graphs, and get 'nan' for the values.

 

Am I missing how RRDTool collects this data for graphing? I have read about Nagios STDOUT (standard output that Zenoss recognizes), but am not sure how to get the resulting output into the graphs.

 

Any assistance with this matter would be greatly appreciated; as I am certain that there is a way to collect the data I am trying to and graph it.

 

Matt


Infrastructure in tact however no events appearing

$
0
0

Hi All!


I would like to believe that our infrastructure is that stable but i know that isnt the case!

 

We are using Zenoss 4.2.0

 

Scenario:

Nothing has appeared to of changed in the environment but all of a sudden we are not getting any events for any of our devices and we have noticed that on the odd occasion one or two of the demons would stop and would need restarting (not unusual for us though).


I am a windows admin so please be gentle!

 

Looking at the demons and their associated logs i can see that we have problems but need a starting piont. Some errors:

 

zenactiond

2014-02-03 12:58:12,678 INFO zen.maintenance: Performing periodic maintenance

2014-02-03 12:58:12,679 INFO zen.zenoss.protocols.amqp: amqp connection was closed [Errno 111] Connection refused

2014-02-03 12:58:12,680 INFO zen.zenoss.protocols.amqp: amqp connection was closed [Errno 111] Connection refused

2014-02-03 12:58:12,682 ERROR zen.maintenance: Maintenance failed. Message from hub: Could not publish message. Connection may be down

2014-02-03 12:59:12,683 INFO zen.maintenance: Performing periodic maintenance

2014-02-03 12:59:12,684 INFO zen.zenoss.protocols.amqp: amqp connection was closed [Errno 111] Connection refused

2014-02-03 12:59:12,684 INFO zen.zenoss.protocols.amqp: amqp connection was closed [Errno 111] Connection refused

2014-02-03 12:59:12,685 ERROR zen.maintenance: Maintenance failed. Message from hub: Could not publish message. Connection may be down

 

zeneventd

2014-02-03 12:57:41,361 ERROR zen.maintenance: Maintenance failed. Message from hub: Could not publish message. Connection may be down

2014-02-03 12:58:41,368 ERROR zen.maintenance: Maintenance failed. Message from hub: Could not publish message. Connection may be down

2014-02-03 12:59:41,377 ERROR zen.maintenance: Maintenance failed. Message from hub: Could not publish message. Connection may be down

2014-02-03 13:00:41,387 ERROR zen.maintenance: Maintenance failed. Message from hub: Could not publish message. Connection may be down

2014-02-03 13:01:41,394 ERROR zen.maintenance: Maintenance failed. Message from hub: Could not publish message. Connection may be down

 

zeneventlog

2014-02-03 13:01:49,939 INFO zen.maintenance: Performing periodic maintenance

2014-02-03 13:01:49,940 INFO zen.zeneventlog: Counter discardedEvents, value 148146279

2014-02-03 13:01:49,940 INFO zen.zeneventlog: Counter eventCount, value 177093947

2014-02-03 13:01:49,941 INFO zen.zeneventlog: 30 devices processed (0 datapoints)

2014-02-03 13:01:49,943 INFO zen.collector.scheduler: Tasks: 31 Successful_Runs: 4257 Failed_Runs: 0 Missed_Runs: 15 Queued_Tasks: 0 Running_Tasks: 1 

2014-02-03 13:01:50,067 ERROR zen.zeneventlog: Discarding oldest 51 events because maxqueuelen was exceeded: 5051/5000

2014-02-03 13:01:50,130 ERROR zen.zeneventlog: Discarding oldest 51 events because maxqueuelen was exceeded: 5051/5000

2014-02-03 13:02:07,906 ERROR zen.zeneventlog: Discarding oldest 51 events because maxqueuelen was exceeded: 5051/5000

2014-02-03 13:02:07,969 ERROR zen.zeneventlog: Discarding oldest 51 events because maxqueuelen was exceeded: 5051/5000

2014-02-03 13:02:08,140 ERROR zen.zeneventlog: Discarding oldest 51 events because maxqueuelen was exceeded: 5051/5000

2014-02-03 13:02:08,289 ERROR zen.zeneventlog: Discarding oldest 51 events because maxqueuelen was exceeded: 5051/5000

2014-02-03 13:02:08,486 ERROR zen.zeneventlog: Discarding oldest 51 events because maxqueuelen was exceeded: 5051/5000

2014-02-03 13:02:08,543 ERROR zen.zeneventlog: Discarding oldest 51 events because maxqueuelen was exceeded: 5051/5000

 

zenhub

2014-02-03 13:07:06,463 INFO zen.ZenHub: Worker (19051) reports

2014-02-03 13:07:06,462 INFO zen.zenoss.protocols.amqp: amqp connection was closed [Errno 111] Connection refused

2014-02-03 13:07:06,463 INFO zen.ZenHub: Worker (19051) reports

2014-02-03 13:07:06,463 INFO zen.zenoss.protocols.amqp: amqp connection was closed [Errno 111] Connection refused

2014-02-03 13:07:06,463 INFO zen.ZenHub: Worker (19051) reports

2014-02-03 13:07:06,463 ERROR zen.Events: Could not publish message. Connection may be down Traceback (most recent call last): File "/opt/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 42, in sendEvents self._publishEvent(event, publisher) File "/opt/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 82, in _publishEvent publisher.publish(event) File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 283, in publish self._publish("$RawZenEvents", routing_key, event, mandatory=mandatory, immediate=immediate) File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 302, in _publish mandatory, immediate) File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 376, in publish headers=headers, declareExchange=declareExchange) File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 138, in publish raise Exception("Could not publish message. Connection may be down") Exception: Could not publish message. Connection may be down

 

zenjobs

Traceback (most recent call last): File "/opt/zenoss/lib/python/celery/worker/consumer.py", line 349, in start self.reset_connection() File "/opt/zenoss/lib/python/celery/worker/consumer.py", line 592, in reset_connection self.connection = self._open_connection() File "/opt/zenoss/lib/python/celery/worker/consumer.py", line 657, in _open_connection self.app.conf.BROKER_CONNECTION_MAX_RETRIES) File "/opt/zenoss/lib/python/kombu/connection.py", line 223, in ensure_connection interval_start, interval_step, interval_max) File "/opt/zenoss/lib/python/kombu/utils/__init__.py", line 158, in retry_over_time return fun(*args, **kwargs) File "/opt/zenoss/lib/python/kombu/connection.py", line 146, in connect return self.connection File "/opt/zenoss/lib/python/kombu/connection.py", line 574, in connection self._connection = self._establish_connection() File "/opt/zenoss/lib/python/kombu/connection.py", line 533, in _establish_connection conn = self.transport.establish_connection() File "/opt/zenoss/lib/python/kombu/transport/amqplib.py", line 278, in establish_connection connect_timeout=conninfo.connect_timeout) File "/opt/zenoss/lib/python/kombu/transport/amqplib.py", line 88, in __init__ super(Connection, self).__init__(*args, **kwargs) File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 129, in __init__ self.transport = create_transport(host, connect_timeout, ssl) File "/opt/zenoss/lib/python/amqplib/client_0_8/transport.py", line 281, in create_transport return TCPTransport(host, connect_timeout) File "/opt/zenoss/lib/python/amqplib/client_0_8/transport.py", line 85, in __init__ raise socket.error, msg error: [Errno 111] Connection refused

2014-02-03 13:08:25,216 ERROR celery.worker.consumer: Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 2 seconds...

2014-02-03 13:08:27,219 ERROR celery.worker.consumer: Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 4 seconds...

2014-02-03 13:08:31,224 ERROR celery.worker.consumer: Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 6 seconds...

2014-02-03 13:08:37,231 ERROR celery.worker.consumer: Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 8 seconds...

2014-02-03 13:08:45,240 ERROR celery.worker.consumer: Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 10 seconds...

2014-02-03 13:08:55,251 ERROR celery.worker.consumer: Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 12 seconds...

2014-02-03 13:09:07,264 ERROR celery.worker.consumer: Consumer: Connection Error: [Errno 111] Connection refused. Trying again in 14 seconds...

 

All other logs seem to report error free except zopectl which just tells me there is a problem and to forward to zenoss, here is the error details:

 

Type: <type 'exceptions.ValueError'>
Value: 'event' is not a valid daemon name

Traceback (most recent call last): File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish request, bind=1) File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply if debug is not None: return debug(object,args,context) File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object result=apply(object,args) # Type s<cr> to step into published object. File "/opt/zenoss/lib/python/Products/Five/browser/metaconfigure.py", line 476, in __call__ return self.index(*args, **kw) File "/opt/zenoss/lib/python/Products/Five/browser/pagetemplatefile.py", line 125, in __call__ return self.im_func(im_self, *args, **kw) File "/opt/zenoss/Products/ZenWidgets/FileGzipper.py", line 82, in __call__ return original(self, __instance, *args, **keywords) File "/opt/zenoss/lib/python/Products/Five/browser/pagetemplatefile.py", line 59, in __call__ sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0), File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 132, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 240, in __call__ interpreter() File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 266, in __call__ self.interpret(self.program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 941, in do_defineSlot self.interpret(slot) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 941, in do_defineSlot self.interpret(slot) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 941, in do_defineSlot self.interpret(slot) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 941, in do_defineSlot self.interpret(slot) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 615, in do_insertText_tal text = self.engine.evaluateText(stuff[0]) File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 225, in evaluateText text = self.evaluate(expr) File "/opt/zenoss/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/opt/zenoss/lib/python/zope/tales/pythonexpr.py", line 59, in __call__ return eval(self._code, vars) File "<string>", line 1, in <module> File "/opt/zenoss/Products/ZenModel/ZenossInfo.py", line 526, in getLogData filename = self._getLogPath(daemon) File "/opt/zenoss/Products/ZenModel/ZenossInfo.py", line 502, in _getLogPath raise ValueError("%r is not a valid daemon name" % daemon) ValueError: 'event' is not a valid daemon name

 

I am hoping that with the above information someone can give me a starting point. I appologise in advance if this is not in the correct forum.

 

Many thanks

Rob

Zenoss 4.2.3 alerts reading in bytes would like to have email alerts in percentage

$
0
0

I am still very new to Zenoss and I am having trouble with output emails for example:

 

Event: 'threshold of high utilization exceeded: current value 110168460.901864'
At: 2014/02/10 09:16:25.000
Component: bond1
Severity: 3
Message:
threshold of high utilization exceeded: current value 110168460.901864

 

I would like to get these emails to be in % or some better form of reading this. These also happen for my memory alerts.

 

any help would be greatly appreciated. 

Zencommand is showing missed runs

$
0
0

Hi,

 

On a few of my collectors zencommand is showing a bunch of missed runs. I cannot seem to find any documentation on this.

 

2014-02-11 09:12:26,120 INFO zen.zencommand: 427 devices processed (187457 datapoints)

2014-02-11 09:12:26,134 INFO zen.collector.scheduler: Tasks: 470 Successful_Runs: 9561 Failed_Runs: 0 Missed_Runs: 39 Queued_Tasks: 0 Running_Tasks: 4

 

The two collectos that are showing this are monitoring around 700 servers each. The hardware that these collectors live on is pretty beefy and I don't see the collector maxing it out.

 

I did find this thread which lead me to increase 'maxparallel' config setting from 50 to 85.

 

http://community.zenoss.org/message/73565?tstart=0

 

Does this simply mean my collector cannot handle the amount of zencommand datapoints?

 

I am running 4.2.4 on RH6 x64. Thank you for any help!

Event Notifications - modifying email text

$
0
0

I'd like to tweak the email content when an Event Trigger is activated. Here's what I have now:

 

Device: ${eventSummary/actor/element_title}
Component: ${evt/component}
Severity: ${evt/severity}
Time: ${evt/lastTime}
Message:
${evt/message}

 

To start with, I'd like to modify the Severity section. At the moment ${evt/severity} brings back a number between 1 and 6. I'd prefer it to show a descriptive word instead, i.e. INFO, WARN, ERR, etc. Is there a $ parameter that I could use for that.

 

With that in mind, is there a definitive list of all these $ parameters anyway?

 

Thanks

Copying zenoss content from one zenoss 424 server to another zenoss 424 server.

$
0
0

So here is my dilemma and here is what i'm working with. So we currently have Zenoss 3.2.1 in production running RHEL version 5. My project is to create a new vm with RHEL version 6, install zenoss 321, (migrate the instance from the production server over to this new vm) and then upgrade to zenoss 4.2.4. I have already done this and it is working fine. However, until this new vm goes into production, obviously the data on the zenoss 321 production server is contstantly changing. If I have 2 vm's running zenoss 424 on RHEL version 6, how do I copy or migrate the instance or data from one server to the other ? I have already tried just removing directories on one server and then copying from the other, but it doesn't work for me. I know that running a zeopack -h localhost -p 8100 works on zenoss 321 and then you just migrate the Data.fs.old file and migrate zenpacks, but this doesn't seem to work on zenoss version 424. I get connection 8100 errors.

 

1. Zenoss 4.2.4

2. RHEL version 6

3. MySQL 5.5.28-1

Migrating devices & template from one server to another

$
0
0
Hi There,

I am quite new to zenoss. Need your expert help. We have two zenoss servers. One running with some older version 1.1.2 and another with 2.1.

All the devices and templates are configured and working on older server. Now I want to migrate all these servers, templates, settings etc to new server.

Can you please guide me how can I do the same.

Thanks & Regards

Moving Zenoss to a new server

$
0
0

Recently I have installed zenoss on a new server and would like to take the backup of my current zenoss instance and load it on to the new instance. Both the new and the old server are centos 6 servers with zenoss 4.2.4 installed on them. All i want to do is be able to take the back up of the old server and restore it on the new server so I dont have to go through the process of entering in and configuring all my devices, commands, graphs etc. If any one has done this before and willing to post steps on how to do this successfully that would be great.


Email Allerts issues Zenoss core 4.2.4

$
0
0

Hi all,

 

having issues with setting email alerts.

 

looks like i cant get email alerts to more than one "notifications"

 

if set up a few triggers and set them up with email notifications. - this works...

 

but when i create another set of notification to different triggers im not getting any email notification - the event is created under "events" i.e all conditions are met for the second trigger, but eventualy only one notification rule works...

 

what am i missing? is there any limitation for this on core version?

 

 

Thanks

 

Nir

Monitoring OID without graphing

$
0
0

Hello All,

 

I'm new to Zenoss and SNMP monitoring, so bare with me . I have a couple of APC UPS's that I would like to monitor an OID that shows the battery output status. I'm having a hard time trying to figure this out. I can make a graph and create a threshold, but i don't want to that.

 

OID Info:

SNMP Object Type upsBasicOutputStatus

 

OID 1.3.6.1.4.1.318.1.1.1.4.1.1.0

 

Returns The current state of the UPS:

 

1 = Unknown
2 = On Line
3 = On Battery
4 = On Smart Boost
5 = Timed Sleeping
6 = Software Bypass
7 = Off
8 = Rebooting
9 = Switched Bypass
10 = Hardware Failure Bypass
11 = Sleeping Until Power Returns
12 = On Smart Trim

 

How do I make zenoss monitor this OID (Without a graph) and send a event when the value changes to 3?



Zenoss and DNS lookups

$
0
0

Hi,

 

I've had serveral issues caused by the fact that Zenoss doesn't automatically refresh DNS and IPs on hosts. I know I can do it manually via "Actions" -> "Reset IP". I know how to do this via zendmd and scripts. What I'd like to know is if there is a way to get Zenoss to call the "Reset IP" function regularly via the web interface? eg, could I get the event manager to call it or something? I'd prefer to have it called via the webinterface as it'd be more visible to the other users/administrators of Zenoss. Thanks.

 

Joan

Trigger bug!

$
0
0

Hi,

 

I have ZenOSS 4.2.4 installed on CentOS 6.5 x64.

 

I found 2 bugs (i think), hope it is not a bug and you can help me fix it:

 

 

  1. After creting a trigger I double click on the trriger or clicking the setting button but nothing happens (this heppans sometime not every time)
  2. when configuring a trigger and adding a trriger rule and then entering a sub rule (the tree/hierarcy button) it looks ok than i click save open the trigger and everything looks flat, like all rules on the same level.

 

somone familiar with this? anyweay to solve it?

FindPosKeyError script issue

$
0
0

Over the last couple weeks, I've had a number of devices coming up with POSKeyError messages. I discovered the "FindPosKeyError.py" script that was available on http://wiki.zenoss.org/PosKey_Error_Fixture. I'd like to say for the record that this script works about 99% of the way, and that I was highly impressed! It cleared up a number of my errors, however, it doesn't appear to clear up problems with "componentSearch". When running "python ./FindPosKeyerror.py --fixrels /zport/dmd/Devices", about 16 odevices come up with a "POSKeyError:  0x###### on attribute 'componentSearch' of app.zport.dmd.Devices.<remainder of path>".

 

Would someone have a solution for me to clear up the remaining POSKeyError's I'm receiving? I'd hate to rebuild/restore for 16 devices that are causing me grief!

Mail alert template (made by me)

$
0
0

Hey everyone,

 

I was working to make Zenoss mail notification be more "fancy".

 

After some html modifications here is the result:

 

screen_11 Feb. 25 16.26.jpg

See attached file to get the html code, just copy and paste in your zenoss notification.

 

I used the Solarwinds Web Helpdesk notification as example to build this one.

 

Good luck!

Error 1045 While installing Zenoss 4.2.4

$
0
0

Hello All,

 

I am trying to install Zenoss 4.2.4, and I am receiving the following error message:

 

Fresh install pre steps

Checking RRDtool version >=1.4.7: [ OK ] 1.4.7

Error 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Dropping database: zodb_session

Failed to create ZODB session database

 

Can someone tell me what i need to do to fix this issue? I have removed MySQL and Zenoss completely from my server and tried to reinstall and still get this messgae.

 

My Operating system is CentOS 6.5

 

Thanks,


Zenoss 4.2.3 Custom Report Error

$
0
0

Hello,

 

I have created a custom report in Zenoss 4.2.3 for inventory but I am not able to get output at all. Instead another session on Infrastructure opens inside the report.

 

Following is the report Template created:

Report.JPG

 

Following is the Output of the report.

Report1_2.JPG

 

Please if anyone can help fix this issue.    

 

Regards,

4.2.4 installation problem on Ubuntu 12.04.4

$
0
0

Following the instructions here: http://hydruid-blog.com/?p=124#comment-8482 I attempted to install Zenoss 4.2.4 onto an Ubuntu 12.04.4 server 64bit virtual machine.

 

I ran apt-get update beforehand successfully.  His script ran perfectly, I set the Mysql admin password and that was it... done.

 

However the zen processes are not running.  The results of a 'zenoss status' return:

 

zenoss-user@MI-Zenoss:~$ sudo su zenoss

[sudo] password for zenoss-user:

sudo: unable to open /var/lib/sudo/zenoss-user/0: Read-only file system

zenoss@MI-Zenoss:/home/zenoss-user$ zenoss status

Traceback (most recent call last):

  File "/usr/local/zenoss/Products/ZenUtils/ZenPackDaemons.py", line 79, in <module>

    zp = ZenPackDaemons()

  File "/usr/local/zenoss/Products/ZenUtils/ZenScriptBase.py", line 36, in __init__

    CmdBase.__init__(self, noopts)

  File "/usr/local/zenoss/Products/ZenUtils/CmdBase.py", line 108, in __init__

    zcml.load_site()

  File "/usr/local/zenoss/lib/python/Zope2/App/zcml.py", line 46, in load_site

    _context = xmlconfig.file(site_zcml)

  File "/usr/local/zenoss/lib/python/zope/configuration/xmlconfig.py", line 646, in file

    include(context, name, package)

  File "/usr/local/zenoss/lib/python/zope/configuration/xmlconfig.py", line 548, in include

    processxmlfile(f, context)

  File "/usr/local/zenoss/lib/python/zope/configuration/xmlconfig.py", line 380, in processxmlfile

    parser.parse(src)

  File "/usr/local/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse

    xmlreader.IncrementalParser.parse(self, source)

  File "/usr/local/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse

    self.feed(buffer)

  File "/usr/local/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed

    self._parser.Parse(data, isFinal)

  File "/usr/local/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 364, in end_element_ns

    self._cont_handler.endElementNS(pair, None)

  File "/usr/local/zenoss/lib/python/zope/configuration/xmlconfig.py", line 359, in endElementNS

    self.context.end()

  File "/usr/local/zenoss/lib/python/zope/configuration/config.py", line 620, in end

    self.stack.pop().finish()

  File "/usr/local/zenoss/lib/python/zope/configuration/config.py", line 774, in finish

    actions = self.handler(context, **args)

  File "/usr/local/zenoss/lib/python/OFS/metaconfigure.py", line 46, in loadProducts

    xmlconfig.include(_context, zcml, package=product)

  File "/usr/local/zenoss/lib/python/zope/configuration/xmlconfig.py", line 548, in include

    processxmlfile(f, context)

  File "/usr/local/zenoss/lib/python/zope/configuration/xmlconfig.py", line 380, in processxmlfile

    parser.parse(src)

  File "/usr/local/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse

    xmlreader.IncrementalParser.parse(self, source)

  File "/usr/local/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse

    self.feed(buffer)

  File "/usr/local/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 220, in feed

    self._err_handler.fatalError(exc)

  File "/usr/local/zenoss/lib/python/_xmlplus/sax/handler.py", line 38, in fatalError

    raise exception

zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/usr/local/zenoss/etc/site.zcml", line 16.2-16.23

    ZopeSAXParseException: File "/usr/local/zenoss/lib/python/Products/ManagableIndex/configure.zcml", line 1.4,  not well-formed (invalid token)

Daemon: zeneventserver not running

Daemon: zopectl not running

rm: cannot remove `/usr/local/zenoss/var/Z2.pid': Read-only file system

Daemon: zenrrdcached not running

Daemon: zenhub not running

Daemon: zenjobs not running

rm: cannot remove `/usr/local/zenoss/var/zenjobs-localhost.pid': Read-only file system

Daemon: zeneventd not running

Daemon: zenping not running

Daemon: zensyslog not running

Daemon: zenstatus not running

Daemon: zenactiond not running

Daemon: zentrap not running

Daemon: zenmodeler not running

Daemon: zenperfsnmp not running

Daemon: zencommand not running

Daemon: zenprocess not running

zenoss@MI-Zenoss:/home/zenoss-user$

 

 

Obviously something went wrong.. how can I resolve this and get it up and running?  I am totally unfamiliar with redHat/centOS to even think about switch OS's.

CPU and Memory Usage information of Juniper Routers and Extreme Switches

$
0
0

Hello,

 

I am able to monitor the interfaces on Juniper routers and Extreme switches in Zenoss 4.2.3.

 

Can anyone help me in populating CPU and memory infromation of these devices in Zenoss.

 

Thanks in advance.

Monitoring Template - NotFound: low disk space error

$
0
0

I was trying to modify a filesystem threshold on my /Server/Windows/WMI template, but when I click on the template I get a banner at the top that says "NotFound: low disk space error". I am unable to modify the template now. I tried deleting the template from advanced > monitoring template > FileSystem > /Server/windows/WMI, and then copy a local copy of the same template I had back to /Server/windows/WMI but the same error returns. Is there a way to set a monitoring template back to default?

 

Zenoss 4.2.4.

httpd-OS Process memory usage keeps on growing

$
0
0

Since some ZenUp updates back, according to Zenoss 4.2.4, the memory usage of the httpd-process in OS Processes keeps on rising.

Just as if the memory usage isn't gauged, but is added up to a total with each cycle. So after a while, it seems that the memory usage is >400G and the longer you let Zenoss run, the higher this number gets. See the attached image as an example. Just before the dip I updated and restarted zenoss.

This happens only when marking httpd as an "OS Process", and only with the memory usage, not with the CPU utilization or Process count.

 

Probably important information: this only happens for the httpd-OS Process, and one other process that spawns new instances when needed. Other porcesses that just have one instance running aren't affected.

 

Does anyone have an idea how this is possible and how I can set this right?

Viewing all 1084 articles
Browse latest View live