Quantcast
Channel: Zenoss - Community Zenoss Support
Viewing all 559 articles
Browse latest View live

Zenoss 5 - modifying Zenoss core code - what containers and how to persist?

$
0
0

I currently have Zenoss 5.0.7.  There is a bug with $ZENHOME/Products/ZenModel/actions.py that looks like it has a 2-line fix - https://github.com/zenoss/zenoss-prodbin/commit/1cb79b7724e6c554ee5ae4e30bb1b3127feb266c .

What is the correct procedure to modify actions.py?

Just accessing the Zope container with:

serviced service attach zope su zenoss -l

and then copying and changing the file, doesn't persist.

Thanks,

Jane


Zenoss Graphs Showing Incorrect Data

$
0
0

I'm a new administrator for Zenoss and I was tasked with getting the bandwidth useage info on a specific switch port. When I pull up the graph everything looks fine for the "Last Hour" graph but when I switch to "Last 30 Days" the data doesn't jive with the first graph and is way less than I know that port is using.

 

As you can see, the port used a max of 21.96 Mb/s Inbound over the last hour but somehow only .77M max over the last 30 days which would be impossible.

Am I reading the graphs wrong? Is there a bug in there? Any help would be greatly appreciated.

AttributeError: 'WinServiceSNMPDevice' object has no attribute 'deviceClass'

$
0
0

I am using zenoss core 3 running on RHEL 5.4 and after adding some devices, I noticed that reports are no longer loading and zenoss is not monitoring anymore. Troubleshooting on the on the server zenping, zencommand, zenstatus, zensla and zenperfsnmp daemons are not running and starting them individaully did not work. I have restarted both zenoss and the server severally but the problem persists.

When I ran zenchkrels -r -x1 command, i got the following error message:

Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/CheckRelations.py", line 72, in <module>
    tmbk.rebuild()
  File "/opt/zenoss/Products/ZenUtils/CheckRelations.py", line 40, in rebuild
    object.checkRelations(repair=repair)
  File "/opt/zenoss/Products/ZenRelations/RelationshipManager.py", line 262, in checkRelations
    rel.checkRelation(repair)
  File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 311, in checkRelation
    rrel = getattr(obj, remoteName)
AttributeError: 'WinServiceSNMPDevice' object has no attribute 'deviceClass'

 

Apparently a device doesnt have a device class. Degugging the failed daemons also give similar error. Is there any way to remove the device entry causing this problem? Please I need your help to resolve this issue.

Thanks

 

LDAP+Zenoss Core 4.2.5+CentOS 6

$
0
0

I was strictly following LDAP setting  step by step from blog : Enabling LDAP Authentication in Zenoss Core 4.2+ and CentOS 6 and all settings was finished with no errors.

BUT in the front end of main login page, how to let LDAP authentication login works? 

because nothing changed with login after setup LDAPMultiPlugin, 

it still using default login.

that is, there is no request for LDAP server when login submitted.

I need help

Many thanks :)

Zenoss 5 Installation Issue.

$
0
0

[root@localhost tmp]# ./core-autodeploy.sh
Autodeploy script 2016-03-02 for Control Center master host and Zenoss Core 5/Zenoss Resource Manager 5
Ultimate graph and dashboard solution for Zenoss 5 / Grafana 2 for Zenoss 5 - http://bit.ly/zenoss5grafana
Install guide: https://www.zenoss.com/resources/documentation?field_zsd_core_value_selective=Core&field_product_value_selective=All&field_version_sort_tid_selective=All
You should to read 'How to install Zenoss 5 successfuly' first - http://bit.ly/zenoss5. OK (y/n)? This autodeploy script was not tested/prepared for current Zenoss version 5.1.x. Do you really want to continue (y/n)?y
CentOS Linux release 7.2.1511 (Core)
Hardware Requirements:
Min number of available CPUs: 4
Min size of available RAM:    20GB
These filesystems must be mounted with correct type and size:
Path                        Type        Min size
/                           xfs         30GB
/var/lib/docker             xfs         30GB
/opt/serviced/var           xfs         30GB
/opt/serviced/var/volumes   btrfs       1GB
/opt/serviced/var/backups   xfs         1GB
1 Checks - (Tue, 22 Mar 2016 13:10:48 +0100)
1.1 Root permission check
Done
1.2 Architecture check
Done
1.4 CPU check
Done
1.5 RAM check
Only 7GB of RAM has been detected, but at least 20GB is recommended. Do you want to continue (y/n)? y
Done
1.6 Filesystem configuration check
 / filesystem check in progress...OK
 /var/lib/docker filesystem check in progress...OK
 /opt/serviced/var filesystem check in progress...OK
 /opt/serviced/var/volumes filesystem check in progress...
 xfs /opt/serviced/var/volumes filesystem detected, but btrfs is required. Do you want to continue (y/n)?

Struggling to get Zenoss Core to start

$
0
0

So, we are complete beginners with Centos and Zenoss. But we have been trying to follow along with the wiki and guides.  We have gotten to the point where Control Center seems like it is working. We see Zenoss.Core on the list of applications.  However, the 5.1.1. configuration guide, chapter3, it says to find Zenoss.resmgr and click start.

 

We don't have anything called Zenoss.resmgr.

We tried to follow the instructions, only using Zenoss.Core, but when the endpoint URL appears, it is an https URL with a port on it. We click on that, and we get a browser page that says its unable to find the page - and the url displayed is missing the port 443.

We have been unable to figure out how to get the start wizard to start.

 

Has anyone else experienced this and found a solution for it?

Porblem with Zenoss 5 Transform

$
0
0

Hi,

recently I came up with zenoss 3 to 5.0. I tried to use the same transforms as in 3 versions zenoss. But none of them no longer works. What is the problem? Changed syntax?
Two examples of transforms:

In triggers action command - curl --data 'chat_id='xxxx --data-urlencode 'text=''{"${device/summary}", "${device/Location}", "${device/SnmpLocation}", "${device/message}", "${device/firstTime}"}''https://api.telegram.org/xxxx/sendMessage'

And transform for link down/up events:

import re
device = dmd.Devices.findDevice(evt.device)
index = getattr(evt, 'ifIndex', 0)
descr = getattr(evt, 'ifDescr', '')

evt.component = descr
evt.deviceSnmpLocation = device.snmpLocation
evt.deviceName = device.titleOrId()
if device:
     description = ''
     for iface in device.os.interfaces():
         if index and iface.ifindex == index:
             descr = iface.description
         elif descr and iface.name == descr:
             descr = iface.description
int = getattr(evt, 'component', '')
evt.summary = "Port " + int + " is down!"
evt.message = "Port " + int + " is down!"

Missing counters on windows 2012 system reserved partition

$
0
0

In windows 2012, there is a hidden partition (without letter) that's reserved for boot stuf from windows see here, the microsoft zenpack is finding the partition on the modeling, but it's unable to read its counters, (might be for the the unassigned letter)

Zenoss is informing me of "5 counters missing in collection - see details" with this content in the message.

\logicaldisk(\\?\volume{b9878819-5f4c-11e4-80be-806e6f6e6963})\free megabytes, \logicaldisk(\\?\volume{b9878819-5f4c-11e4-80be-806e6f6e6963})\% disk write time, \logicaldisk(\\?\volume{b9878819-5f4c-11e4-80be-806e6f6e6963})\disk read bytes/sec, \logicaldisk(\\?\volume{b9878819-5f4c-11e4-80be-806e6f6e6963})\% disk read time, \logicaldisk(\\?\volume{b9878819-5f4c-11e4-80be-806e6f6e6963})\disk write bytes/sec

I could just disable the monitoring for this disk, but same thing will have for all the 2012 or newer installs. Should I report a bug?


How to use DRBD Monitoring ZenPack?

$
0
0

I have servers with DRBD and need to monitor the DRBDs.  I found a ZenPack to monitor DRBD, but, there are no instructions for how to setup and use the ZenPack.

I added the ZenPack, modeled the server, and the DRBD information is not showing up.  What am I missing?  Is this plugin based on the Nagios version, which requires modifying the snmpd.conf on the server?

Tags: 

Zenoss 5 and WinRM

$
0
0

Hello,

We are currently running Zenoss 5.0.7 and currently have 115 windows servers being monitored. 110 of those we are monitoring via WinRM. 5 of them are virtual, Windows 2012 Guest machines on VMWare hosts (not sure of our VMWare version) that are using SNMP. Those 5, if switched to be monitored by WinRM become inaccessible, the CPU usage climbs to 100% and they are unresponsive. Oddly, Zenoss doesn't show them as 'down' because they still respond to ping, but file shares and RDP no longer respond. These are not our only virtual servers we have, others in a seperate location can be monitored by WinRM without issue, and all of our physical servers can be monitered via WinRM. Has anyone experienced anything similiar, or have some ideas on anything that we can check?

Thank,

ThatOneGuy

Trying to resolve an issue we see in Control Center

$
0
0

Been trying for a week now to get Zenoss core working. Still struggling.

Control Center itself is up. It shows 7 services with a red exclamation point, and 5 services (some overlap with the first set) which have a red dot on them.

When we begin the startup wizard, and try to specify the machine on which zenoss core is running as a device, the software doesn't appear to return.  If we go instead to the main tab for entering devices, what we see are jobs pending - and never starting (talking about days of waiting).

If we try to view events, none are displayed and when we try to create one, once again, the system just sits for a very long time - this test might have ended with a timeout error.

I suspect that the issues in the services are related to the other issues.

The odd thing is that the issues in the services generally appear to be errors in health checks. Nothing so far has generated an error that I can look at and  say "Oh look, that needs fixed.".

When I opened a defect ticket, I was asked whether we were using "loopback setup" but I don't know what that means, so I can't answer that question.

 

So far I haven't found a good troubleshooting guide, and no docs, wiki, etc. seem to mention the failing health checks.

Any suggestions on how to proceed?

Zenoss 5.1.1 - Trigger through Command action

$
0
0

We are working on moving Zenoss 4.2.5 to Zenoss 5.1.1, we are using python scripts to trigger notification to external sources. In content section of notification we have configured to call the script with event parameters passed as variables as below:

Command is /opt/zenoss/libexec/<scriptname>.py ${evt/eventState} ${evt/severity} ${evt/device} ${evt/eventClass} ${evt/summary} '${evt/DeviceGroups}' ${evt/evid} '${evt/component}' ${evt/manager} ${evt/ownerid}

Clear Command is /opt/zenoss/libexec/<scriptname>.py ${evt/eventState} ${evt/severity} ${evt/device} ${evt/eventClass} ${evt/summary} '${evt/DeviceGroups}' ${evt/evid} '${evt/component}' ${evt/manager} ${evt/ownerid}

Environment Variables - ZENHOME=/opt/zenoss

I want to replicate this same in 5.1.1 I understand in UI I can see put the same, but in which directory I should place my script in 5.1.1 and what would be Environment Variables as there is no /opt/zenoss/libeexec directory in 5.1.1

 

Thank you,

Tags: 

Error starting up serviced 1.1.1

$
0
0

Hi everyone, 

I've run into an issue installing resource manager 5.1.1. We were running 5.0 but ran out of space, when trying to get the service back up and running after adding space, we ran into the issue of docker complaining about UUID of the data stores being out. In the end I opted to just do a fresh install of 5.1.1 instead of going through the hassle of trying to get the 5.0 machine upgraded.

Now On a fresh isntall of 5.1.1 I'm getting the following when I attempt to start serviced:

 

 Unable to validate server options: Use of devicemapper loop back device is not allowed unless --allow-loop-back=true

Here's the output of docker info:

Containers: 0
Images: 0
Server Version: 1.9.0
Storage Driver: devicemapper
 Pool Name: docker-docker--pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 107.4 GB
 Backing Filesystem: xfs
 Data file:
 Metadata file:
 Data Space Used: 1.821 GB
 Data Space Total: 96.54 GB
 Data Space Available: 94.72 GB
 Metadata Space Used: 1.315 MB
 Metadata Space Total: 109.1 MB
 Metadata Space Available: 107.7 MB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Library Version: 1.02.107-RHEL7 (2015-12-01)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-327.10.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 4
Total Memory: 23.39 GiB
Name: sfo1zen-hub-prod-01.nbttech.com
ID: 7HMH:FF2M:GL4I:DZKF:ON6P:BLMU:7ILH:MSXH:O6C4:PUVL:EU7N:SL3B
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
 

 

Any one have any ideas?

Strugglingn to get into Control Center/Zenoss Core

$
0
0

Okay, so we have installed Zenoss Core 5.1.1. Control Center and Zenoss Core should be running.

When we get to the initial wizard, we are asked for an admin password. However, the wizard does not tell us what login that password is for. It also asks for a user login and password.  We create one of those.

We get into Control Center and do some things.  We notice that the user login and password that we created is the user that is logged in is the user we created during the wizard.

We let the user know the user login and password we created.  When they try to log into Control Center, they get the Error Username/Password is invalid.

They are typing the password we supplied to the wizard.

We log out, because we think that perhaps Zenoss won't let the user log into the system in two places.

The user continues to get the error message.

We then try to log into the system with the first login we configured, back some time ago - it can't get into the system.

So, do we have to remote Zenoss and install again each time we want to use it?  Just kidding - but it is frustrating to find that nothing we try is letting us into the system.

 

zenoss AWS amazon ec2

$
0
0

Hi there,

We were thinking of migrating our zenoss to latest version as an ec2 instance.

We only monitor 50 or so snmp routers. I find the requirements to be very steep to run zenoss...

20G of RAM, 500G of storage in all (SSD as DOC says) . Quad CPU , this Amazon ec2 instance would cost us 700$ or more a month !

Is there a way to run with lesser specs ? BTW, it's a question coming from my management...

thank you

 


What is "modeling"?

$
0
0

I have seen references in the configuration and administration guides to "modeling" (there's a whole chapter with that as part of the title).

I just haven't figured out what the term means in relationship to Zenoss.

We have a few test machines that we can used with Zenoss without impacting other people. What information does modeling provide?

 

How complex is it to add buttons (or menu items) to the Event console?

$
0
0

We have a need for the user of the Zenoss Core console to select an event on the console and then be able to take two actions. Each "action" is to invoke  a shell command with information from the event.

In one case, the shell command will send an email with the details of the event.

In the other case, the shell command would need to be called with a field from the event, and that would result in a web browser displaying information about that field value.

How would we go about implementing such menu items or buttons?

service zenoss start can't start : ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

$
0
0

Hi, I have a new install zenoss using the auto scripts zenoss.

I have this error:

[root@zenoss4prd /]# service zenoss start
Zenoss not initialized.  Performing first-boot initialization...
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

 

At first I think that was a problem with MySQL, so  I check the conexeion a local host:

 

[root@zenoss4prd /]# mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.5.37 MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

 

This is my table of user's acount:

mysql> select host,user,password from user\G
*************************** 1. row ***************************
    host: localhost
    user: root
password:
*************************** 2. row ***************************
    host: zenoss4prd
    user: root
password:
*************************** 3. row ***************************
    host: 127.0.0.1
    user: root
password:
*************************** 4. row ***************************
    host: ::1
    user: root
password:
*************************** 5. row ***************************
    host: localhost
    user:
password:
*************************** 6. row ***************************
    host: zenoss4prd
    user:
password:
6 rows in set (0.00 sec)

There is no set password for those users .

 

Any suggestions?

 

Ty

 

Dealing with events from devices

$
0
0

Hi! We are learning our way around Zenoss Core. Interesting project!

We currently have a situation where an older tool is displaying events of interest. So there's code which gathers up events from a variety of sources, trims out noise, provides a priority, and then sends a UDP packet to the older tool, which then displays the items. The operations team look at the display, and then take action as necessary.

We would like to set up a Zenoss Core view to perform this type of function. Is there a way for Zenoss Core to be sent these UDP packages of information and then display them? Or are we going to need to convert the information into arguments for zensendevent and use that to send the events into Zenoss?

Problem with graphs

$
0
0

I'm using Zenoss 4.2. I created 3 graph definitions for a monitoring template. The graph definition names never showed up under the graph definition section but when I look under "Graphs" on the menu I can see all three graphs. I want to get rid of them but since they do not appear under the graph definitions section I have no idea how to do this. Is this a bug or something that I'm doing that I just don't understand? Also how can I delete these empty graphs?

Viewing all 559 articles
Browse latest View live