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

What is the correct way to scale Zenoss 5?

$
0
0

Hello everyone,

I have an old version of Zenoss right now, and am going to upgrade with new hardware to Zenoss Core 5, however I have over 1,000 devices that I need to monitor, and I can't find any recommendations on how to do it. Does anyone have Zenoss Core 5 running  and monitoring >1000 devices who could point me in the right direction?

Thanks,

Michael


Openstack Provider View - Multi Region Support

$
0
0

Hello Everyone,

I'll start by asking if there is support in Openstack Provider View for Multi Regions in Openstack or if anyone has ever successfully configured this in both Openstack and Zenoss core.  I'm running Juno release btw.  The reason I ask is that in trying to deploy this and show all hosts from both regions, I typically only ever see the hosts and services of one of the regions.  For example: When adding infrastructure, if I select RegionOne from the dropdown, I get the controller and compute nodes for RegionOne.  That's good.  However, If I delete this and this time select RegionTwo from the dropdown, I see RegionOne's controller and computenodes.  I tried this on another multi-region lab, but in this case it was reversed and I only saw hosts for RegionTwo.  I've also tried creating two distinct devices and setting ceilometer configs appropriately.  Again, same thing.  Not sure if this is a bug or simply a misconfiguration.  Any help appreciated.

thanks!

Populating Graphs - Zenmodeler

$
0
0

Initial modeling reports hard drive size, etc. However drive free size and graphs are not populated. 

Running zenmodeler from the CLI shows the following recurring zenpublisher error:

2016-02-19 22:28:09,968 DEBUG zen.publisher: metric flush to redis in progress, skipping _put

2016-02-19 22:28:09,968 DEBUG zen.publisher: trying to publish 7 metrics

2016-02-19 22:28:09,969 INFO zen.publisher: publishing failed: Connection was refused by other side: 111: Connection refused.

2016-02-19 22:28:09,969 INFO zen.publisher: queue still contains 7 metrics

2016-02-19 22:28:10,035 DEBUG zen.publisher: published 3 metrics to redis

2016-02-19 22:28:10,035 DEBUG zen.publisher: shutting down [disconnecting]

2016-02-19 22:28:10,035 DEBUG zen.publisher: shutting down [disconnected]

2016-02-19 22:28:10,036 DEBUG zen.ZenModeler: Removing service EventService

2016-02-19 22:28:10,036 DEBUG zen.ZenModeler: Removing service ModelerService

2016-02-19 22:28:10,036 DEBUG zen.pbclientfactory: Lost connection to localhost:8789 - Connection to the other side was lost in a non-clean fashion: Connection lost.

2016-02-19 22:28:10,037 DEBUG zen.collector.scheduler: In shutdown stage during

 

2016-02-19 22:28:10,037 DEBUG zen.collector.scheduler: In shutdown stage after

 

I have double checked DNS, WinRM configuration parameters, etc.

SNMP modelling works.

Physical server running RHEL 7.2 , zenoss 5.0.9.

Any suggestions would be appreciated!

Layer2 Zenpack

$
0
0

Just upgraded to the latest Layer2 Zenpack version. Unfortunately i get the error message "NotFound: Layer2Info" when trying to browse monitoring templates. In the meantime i found out that Layer2Info was replaced by zenoss.snmp.ClientMACs modeler plugin. Looks like something went wrong during the upgrade.

Any idea how to fix this?

Thank you in advance.

 

Problem Reading Command Data Source

$
0
0

I have created a basic script .sh file in a format the Zenoss 4.2.5 is able to read perfectly using the COMMAND data type. I want to use the sample script file in Zenoss 5 but I am unable to get Zenoss to read it. I am guessing that I have to have the file in the container Zenoss is running in, so I created the sample file after attaching to Zope. Still no luck. Where does this script file need to be on Zenoss 5 in order to get information from it using a COMMAND monotoring template? 

Zenoss API - Setting icon on multiple devices - Need help

$
0
0

I'm currently using Zenoss Core 4.2.5 and have run into a bit of a roadblock with attempting to change the icon displayed for each device via the Zenoss API.  

I am attempting to change it via the following command: 

 

zenoss_api device_router DeviceRouter setInfo '{"uid":"/zport/dmd/Devices/Network/Switch/devices/10.0.0.250","icon":"/zport/dmd/img/icons/cisco.png"}'

And this is the error I receive: 

 

{"uuid": "c2bb7b72-2596-40ef-a24a-5de957b6a9e7", "action": "DeviceRouter", "result": {"msg": "AttributeError: can't set attribute", "type": "exception", "success": false}, "tid": 1, "type": "rpc", "method": "setInfo"} 

Executing a similar command on a different key works.  

Example:

zenoss_api device_router DeviceRouter setInfo '{"uid":"/zport/dmd/Devices/Network/Switch/devices/10.0.0.250","comments": "blah"}' {"uuid": "fb968550-c3b6-4209-9a65-384531acb650", "action": "DeviceRouter", "result": {"success": true}, "tid": 1, "type": "rpc", "method": "setInfo"}

Any glaring issue that anybody can see?  I can confirm that the Zenoss user I'm using via the API is the same as the one I am using in the GUI, and am able to manually change the icon there without issue.  

Tags: 

Data Source Command in Core 5

$
0
0

I want to make a data source command to run a script. Is there a specific container that I need to put the script in for the command to find it?

Zenoss Core 5 installed but inaccessible

$
0
0

Hi guys,

i write here after several attemps of zenoss installation by ova image, autodeploy and manual installation. In all of these case i could always login to Control Center and start my Zenoss.core application, but from my remote machine i can't access to zenoss application at  https://zenossmasterIP:8080 or http://zenossmasterIP:8080


This is my controlcenterHost server setting :

6 vCPU
32 GB Memory

Ubuntu 14.04.2 LTS

Type      Size  Mounted on
ext4      150GB /
ext4      40GB  /opt/serviced/var
ext4      40GB  /var/lib/docker
ext4      2GB   /opt/serviced/var/backups 
btrfs     2GB   /opt/serviced/var/volumes
swap      32GB  /swap
docker0   Link encap:Ethernet  HWaddr 02:42:00:56:6a:3e  
          inet addr:172.17.42.1  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::42:ff:fe56:6a3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:694734 errors:0 dropped:0 overruns:0 frame:0
          TX packets:732905 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1164103437 (1.1 GB)  TX bytes:318592735 (318.5 MB)

eth0      Link encap:Ethernet  HWaddr 00:50:56:ac:04:a4  
          inet addr:172.22.100.2  Bcast:172.22.255.255  Mask:255.255.0.0
          inet6 addr: fe80::250:56ff:feac:4a4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:77490 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44991 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:85484400 (85.4 MB)  TX bytes:9376343 (9.3 MB)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         172.22.1.251    0.0.0.0         UG    0      0        0 eth0
172.17.0.0      *               255.255.0.0     U     0      0        0 docker0
localnet        *               255.255.0.0     U     0      0        0 eth0

root       884     1  3 17:37 ?        00:01:46 /usr/bin/docker daemon -s devicemapper --dns=172.17.42.1

NAME                   ID                             STATUS       UPTIME                HOST              IN_SYNC      DOCKER_ID
└─Zenoss.core          9xkbu9mjbktov5abyw3gwwqgc      Running      44m29.849824605s      zenossmaster      Y            53ac0b1d3452

During the last manual installation i had a problem with quilt.txt because the zenoss container could not resolve links of the offical guide because it had't a google dns in /etc/resolv.conf, i've exec all  .txt commands manually in the container, for the rest of installation i followed the instructions propertly

This is what i've try to do for accessing Zenoss application :

root@zenossmaster:# serviced service attach Zenoss.core

[root@53ac0b1d3452 /]# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j DNAT --to 172.17.0.56:8080


After forwarding port 8080 of Zenoss.core application to localhost:8080 this  happens when i open http://172.22.100.2:8080 by my remote machine :

Automatic redirect  to:

https://172.22.100.2:8080/zport/acl_users/cookieAuthHelper/login_form?came_from=https%3A//172.22.100.2%3A8080/zport/dmd/

with this error :


An error occurred during a connection to 172.22.100.2:8080. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

This is the result or lynx query in Zenoss.core container :

[root@53ac0b1d3452 /]# lynx localhost:8080

Looking up localhost first
Looking up localhost:8080
Making HTTP connection to localhost:8080
Sending HTTP request.
HTTP request sent; waiting for response.
HTTP/1.1 302 Moved Temporarily
'A'lways allowing from domain 'localhost'.
Data transfer complete
HTTP/1.1 302 Moved Temporarily
Location URL is not absolute.
Using http://localhost:8080/zport/dmd/
Looking up localhost:8080
Making HTTP connection to localhost:8080
Sending HTTP request.
HTTP request sent; waiting for response.
HTTP/1.1 302 Moved Temporarily
Data transfer complete
HTTP/1.1 302 Moved Temporarily
Using https://localhost:8080/zport/acl_users/cookieAuthHelper/login_form?came_from=https%3A//localhost%3A8080/zport/dmd/
Looking up localhost:8080
Making HTTPS connection to localhost:8080
Retrying connection without TLS.
Looking up localhost:8080
Making HTTPS connection to localhost:8080
Alert!: Unable to make secure connection to remote host.

lynx: Can't access startfile http://localhost:8080/

Someone can helpme? Do you need more informations?

Thx

 


Zenoss Core 4.2.5 installation problem

$
0
0

Hi all,

Good to see that my user credentials from the previous forum incarnation were finally transferred ...

I set up a brand-new, virgin installation of zenoss core 4.2.5. Followed the Zenoss_Core_Installation_Upgrade_01-062014-4.2-v2 guide, fired up the server, used the setup wizard to add a user and a machine. The only additional step was adding the requirements for and enabling LDAP authentication (which works).

The problem: nothing is shown under infrastructure. The window under the devices tab is completely empty, bar the jobs indicator at the bottom right. I would expect to see the window split into infrastructure on the left, with all the organizers below it, and device listing on the right, plus add/remove/other actions buttons. Moving on to the networks tab, this works. A discovered network is shown, and the machine I defined manually is also included.

However, when I click on the link, http://server:8080/zport/dmd/Devices/Server/Linux/devices/machine.sub.domain.com/devicedetail#deviceDetailNav:device_overview, I am transported back to the empty infrastructure/devices tab.

I am prepared to tear down the installation and redo it, this is a test setup anyway.

Thank you.

ZenOss 5.0.9 ; closed events are not going/visible in the event archive

$
0
0

Hi,

Recently I installed a complete fresh installation of ZenOss 5.0.9 by using the new Admin installation guide; all well so far.

Then I updated the the ZenPacks for PythonCollector (to 1.7.3) and Microsoft Windows (to 2.5.8).

I added a few Windows devices by using the Wiki page of the Microsoft Windows Zenpack, and enabled the features of the ZenPack like Services monitoring and Eventlog monitoring.

That later part gives, so far i can see, a issue.

I've set up the Even Log monitoring exactly as described in the Wiki; only Warning and up are grabbed. I also see them comming in the Event console and can read them perfectly clear; all details are visible if you click on the event. But when i close the event, i can't see it anymore in the Event Archive. Even if try to search for it, it seems that is completely dissappeared. However, when the same event comes in again, the event counter of that same events gets incremented; so it recognises that event; it was seen before in the console.

I just can't figure out what is going here. I already created a incident on Jira (ZEN-22088); but it got 'back logged' for some reason; don't know why.

Still i have this issue; so i hope that you can help me out here.

Thanks in advance!

Regards,
David

Tags: 

Question on monitoring Dell servers

$
0
0

I used to monitor Dell servers using Egor's great community ZenPack in Zenoss 4.x.

I am now trying to monitor my Dell servers under Zenoss 5.x, here is my dilemma...

Egor's github page of his ZenPack has not been updated in over 3 years, and the page makes no mention of Zenoss 5.  The Zenoss core Dell ZenPack lists what it does but power supplies are not listed.

Has anyone tested Egor's packs under Zenoss 5, or updated them?  Is the description of the Zenoss Core Dell ZenPack incomplete and it does monitor power supplies?

If anyone knows about these things, it would avoid me about 2 hours of testing, so if you do know, please share with the rest of the class :-)

Manuel

Line limit on imported Windows Event logs

$
0
0

Hey, folks. I'm importing some Security Event logs from our Windows servers and I'm finding that the logs, as displayed in the event message in the Event Console, is being truncated; looks like ZenOSS is importing the entire log in as a single line, which has a limit of 256 characters. Does anyone know if there's a way to boost this limit to something a bit higher? The relevant information we're looking for beings at position 260 or thereabouts.

 

I'm running ZenPython 1.7.3 and the Windows Zenpack v2.5.7 on ZenOSS Core 5.0.9. Thanks to anyone who can help!

Zenoss Package Install - Dependencies

$
0
0

I am performing the Zenoss 5 install on Ubuntu.

Everything was working up to the the command below.

It says there are unmet dependencies but I followed a standard Ubuntu install at this point.

Any thoughts on how to find and load the dependencies.

 

ubuntu$  sudo apt-get install -y zenoss-core-service
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zenoss-core-service : Depends: serviced but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 

Control Center Access

$
0
0

I was finally able to get Zenoss5 installed on my Ubuntu server using the guide.

Everything installed without error and all processes seem to be running.

However, when I try to access the portal (http and https) at the IP of the server, it says page nto found.

Firewall is disabled.

What else could it be?

 

I want a single server installation.

the serviced file lsits:

# Set enable/disable the agent role, set to 1/0, respectively
# SERVICED_AGENT=0

# Set enable/disable the master role, set to 1/0, respectively
# SERVICED_MASTER=0
 

Are these correct for that type of isntallation?

 

Get/download graphics by wget/curl

$
0
0

Hi,

I'm trying to get a picture of interfaces graphics by curl or wget for my remote script. i have a several versions: save or download image, write image to file. I was trying to save the address of the link to the graph and start the command - wget 'http://xx:xx@xxxx:8080/zport/RenderServer/render?width=500&gopts=.....many symbols.... -O graph.png, but it doesn't works. 

Does anyone have any ideas how to get / download the picture?


Question using VMware ESXi Monitor ZenPack

$
0
0

Hi Community,

I try to install the Zenpack for VMware ESXi servers and follow the instruction for Zenoss core v5. I am using Redhat server v7. I have the OS available via a mounted DVD. I am using the shell in the service hub as described on the page.

serviced service shell -s VMware_vSphere_SDK -i zenhub bash

Is it possible to use this mounted DVD in the new shell in the running service hub to install the necessary OS packages?

Best regards

SSH Monitoring and Fedora 23

$
0
0

Hello,

I've been trying to get my Zenoss 5 instance to monitor a Fedora 23 workstation using the /Server/SSH/Linux device class, but keep getting timeouts when modeling. My zencommand properties are all configured correctly, and I can manually ssh to the Fedora workstation from the zencommand and zenmodeler containers. I was really confused why modeling kept timing out, but now I think I've figured out the problem, and am hoping someone here might know how to fix it.

Doing a packet capture, I think the problem is that Fedora 23 is running openssh 7.1 server, and Zenoss is using ssh-2.0-twisted client, and there must be some compatibility issue between the two. I found when I manually ssh from the containers, I am also using openssh, so that's why it's working there. To fix the issue, I'm assuming I just need to edit my /etc/ssh/sshd_config file in Fedora, but I'm not really sure what to change in it? Anyone seen this issue before/know how to fix it?

Thanks!

Kevin

Can't create SNMP trap mapping

$
0
0

I'm trying to create an event mapping in ZenOSS 5.0.9 from a numeric SNMP OID, but am having trouble; when entering the numeric OID in the Event Class Key field, ZenOSS is complaining that periods are not allowed characters - only letters, numbers, spaces, underscores, and dashes are allowed characters. Using the 'Reclassify an Event' button as described in the docs doesn't work as the OID is too long; it's truncated in the Event Class Key field in the newly created mapping and I can't add a transform in any case; I run into that 'Invalid characters' error message when I try. Anyone know how to do this in ZenOSS 5? It was possible in v4.2.5. Thanks again.

Transforms not being applied

$
0
0

Hi, folks. Maybe this one's an easy one? Running ZenOSS 5.0.9 and I'm finding that transforms aren't being applied...or event class mappings aren't being applied to events. I've followed the docs and created an event mapping using the "Reclassify an event" button in the event console and kept the event as as class Unknown. I've applied the following transform - evt.summary = "Test Transform", but the transform is never applied. When I view an event where it should be, I see the EventClassMapping field is blank. Anyone have any ideas where I can look to see what's going on?

[Zenoss 4] File Systems Used Bytes 0

$
0
0

Hello everyone!

I am trying to troubleshoot an issue with my zenoss server being unable to monitor the File Systems on my Unix machines, running Centos 6 and 7.

I currently have everything else properly monitored using my existing Nagios plugins and other components have been properly detected on all my servers using SNMP.

Useful info on the state of my setup:

  • I can snmpwalk my servers via command line
  • Zenoss has been monitoring my infrastructure for about 4 months now

I found earlier yesterday this interesting thread, but it uses a ZenPack aimed at Windows machines.

What would be the proper way to make Zenoss automatically detect the File Systems information on my servers? I am missing the Used Bytes, Free Bytes and % Util fields. Only the Total Bytes has been populated.

Thanks for any hints on what might be the issue here!

Viewing all 559 articles
Browse latest View live