Zenoss 4.2.3
Can someone past nginx configuration if use https? I am interested in redirect setting 8080 port to 443.
Thanks
Tommy
Zenoss 4.2.3
Can someone past nginx configuration if use https? I am interested in redirect setting 8080 port to 443.
Thanks
Tommy
Solved
Hi everyone,
I recently upgraded to Zenoss Core 5 and I cannot figure out the base URL to use the API.
I am using pyzenoss, and I am guessing the general form is: BASEURL + /zport/dmd/ + router + '_router'
In Zenoss 4, I was using 'http://localhost' as my base URL. What can my base URL possibly be now??? I know that to access the Control Center, I am using 'https://localhost', however this is nto working.
I would appreciate all help in this!! Thanks
Team,
I need to display Interface throughput metrics in Grafana as is displayed in Zenoss.
Metric: "device_name/ifHCInOctets_ifHCInOctets"
tags: key: "Devices/device_name/os/interfaces/aa0"
Zenoss graph shows 4G correctly but when the raw data is converted in Grafana, it shows as 400MB.
Can some assist with this?
Thank you,
Ken
I have Zenoss 5 installed on a Linux Ubuntu server. I am trying to get it to connect via SSH to a Windows 2008 server. I have changed the ZenCommandUsername and ZenCommandPassword in the configuration properties for that client. I am not sure what else to do. Has anyone used Zenoss with Cygwin successfully? I am able to SSH to the client, just not with Zenoss.
So I have quite a few trigger/notification pairs in my system and for the most part they all work. However, I have a new one that I just can't get to fire. The idea is that when a clear event comes in it will update any open incidents in our ticketing system for that particular device/component combination. The script to do that is done and tested, but the trigger/notification that should be running it isn't working and nothing shows up in zenactiond.log.
The trigger (clear_to_ticket) is enabled and is pretty basic:
The notification (update_ticket_on_clear) has the above trigger mapped to it, is enabled, has the 'Send Clear' checkbox checked and is set to run the following command (for both the regular command and clear command):
However, it never runs when a clear event comes in. In fact, the only thing i can find in zenactiond are lines like:
2016-01-29 09:45:48,455 DEBUG zen.notifications: Notification is enabled: update_ticket_on_clear
2016-01-29 09:45:48,455 DEBUG zen.notificationdao: Notification "<NotificationSubscription at update_ticket_on_clear>" does not subscribe to this signal.
Does anyone have any ideas where to look for what might be going on? Setting zenactiond into debug mode didn't help, I didn't find any more information in the logs.
I realize I could also do this from a transform, but since the ticket update can block I though a notification would be a better option.
Greetings,
I'm struggling to find clear instruction on how to create some custom graphs.
Scenario: I have a device that I want to aggregate the interface throughput across multiple links.
Specs: Zenoss 5.0.8 on CentOS7
Question: Would I create this custom graph in the Monitoring Template or in the Graph Report/Multi-Graph Report section?
Attempt 1: In the Monitoring Template, I created 4 data points, one for InHCOctets on each interface. In the Graph Definitions, I cannot figure out the syntax on using DEF, CDEF, and LINE to achieve my goal of adding them all together. The documentation just links to Tobias' page which is great if you're working on a blank canvas but doesn't help me with the Zenoss specific entries. (specifically 'RRD File') This brings me to Attempt 2.
Attempt 2: In the Multi-Graph Report, there is the Graph Custom Definition section which could provide exactly what I need. I'm stuck when creating the DEF statement since I do not know the full path to use (RRD files are gone in 5) to specify the different interfaces (in years past I could have used something similar to $zenhome/devices/router.domain.local/os/interfaces/eth1_0/ifHCInOctets_ifHCInOctets.rrd.
I've not found a comprehensive guide on how to use the custom graph points and custom graph definitions for any version of Zenoss. Any help the community could provide would be greatly appreciated.
Thank you
Sapofeo
Greetings,
I'm struggling to find clear instruction on how to create some custom graphs.
Scenario: I have a device that I want to aggregate the interface throughput across multiple links.
Specs: Zenoss 5.0.8 on CentOS7
Question: Would I create this custom graph in the Monitoring Template or in the Graph Report/Multi-Graph Report section?
Attempt 1: In the Monitoring Template, I created 4 data points, one for InHCOctets on each interface. In the Graph Definitions, I cannot figure out the syntax on using DEF, CDEF, and LINE to achieve my goal of adding them all together. The documentation just links to Tobias' page which is great if you're working on a blank canvas but doesn't help me with the Zenoss specific entries. (specifically 'RRD File') This brings me to Attempt 2.
Attempt 2: In the Multi-Graph Report, there is the Graph Custom Definition section which could provide exactly what I need. I'm stuck when creating the DEF statement since I do not know the full path to use (RRD files are gone in 5) to specify the different interfaces (in years past I could have used something similar to $zenhome/devices/router.domain.local/os/interfaces/eth1_0/ifHCInOctets_ifHCInOctets.rrd.
I've not found a comprehensive guide on how to use the custom graph points and custom graph definitions for any version of Zenoss. Any help the community could provide would be greatly appreciated.
Thank you
Sapofeo
I have been trying to figure out how to successfully scale Zenoss Core 5 to large endpoint numbers. I am running a 5.0.9 instance with 12CPU and 96GB memory and I've found that this can stably support 1000 devices. However, once I try to add any number of devices more than that, I start to get the following 2 events (in journalctl -u serviced):
serviced[29704]: 2016/02/10 18:46:06 Unsolicited response received on idle HTTP channel starting with "H"; err=<nil>
serviced[29704]: 2016/02/10 18:46:06 Failed to connect to 127.0.0.1:2181: dial tcp 127.0.0.1:2181: i/o timeout
These 2 events result in health check timeouts on a few services, mainly metric consumer. GUI sessions on the dashboard are also impacted by constantly having that pop up box come up and say that you need to reload the page. Most importantly, this causes false critical events of IP down to come in on multiple random devices at once.
At first I thought CPU was my main constraint, seeing how the load averages increased along with the %used when I increased from 250 to 500 to 1000 devices, but there was no major difference in the %used or load averages between 1000 and 1200 devices, especially one that would cause these errors.
Memory is definitely not part of the issue, as adding large increments of devices does not result in much of an increase in memory usage.
I have been using the zenbatchload script within zenhub to load large batches of servers, usually between 200-500 at a time, and I have had no issues with this process until around 1100-1200 devices. That's when those two events in the journalctl show up and begin impacting the system as I described.
Does this seemt to be a resource issue? Would adding a resource host help? I know I'd have to add one with identical resources, but would that actually help? I would prefer to build out collectors to balance out the load, but clearly that's not an option yet, and who knows how long it will actually be until it's developed (I have looked into trying to build my own version of a collector, but have not been too successful as of yet).
Can everyone else share their resources along with their device endpoints so we can compare? It would be useful to have suggested resources for different numbers of devices in the Administration or Installation guides rather than just the minimum resources necessary to run Zenoss 5.
I'm really not sure where to go from here so if anyone has any suggestions, I'd appreciate them.
Hi all.
I try to collect information about manageip of a specific node, but didn't find the necessary information anywhere.
a few examples that I have tried to perform :
curl 'http://x:x@x:x/zport/dmd/Devices/Network/Router/devices/MyRouter?device.manageIp'
curl 'http://x:x@x:x/zport/dmd/Devices/Network/Router/devices/MyRouter?devicedetail:manageIp'
curl 'http://x:x@x:x/zport/dmd/Devices/Network/Router/devices/MyRouter?getRRDValue?dsname=manageIp_manageIp'
does anyone know how to get this information?
Hi Everyone,
I am having an issue with Zenoss Core 5.0.9. I have freshly setup a zenoss install and am currently in the middle of setting it up. I'm having issues with the google map locations showing for other users.
I have the locations appearing fine for my login. But when other users login, they get the default view of Toronto. Any one have this issue before? No doubt it is probably something small I am missing
Thanks
Has anyone disabled SSLv3 for the poodle vulnerability in Zenoss Core 5.x? I havn't been able to figure out what containers I need to connect to and what files need to be edited with what. Thanks.
Zenoss Core 5 - Interface SNMP metrics send throughput using octet values. When forwarding this information on to OpenTSDB, I need to convert the metrics to bit/sec.
While the Zenoss dashboard graphs perform the calculation and displays what I need locally in graphs, the metric which is sent to OpenTSDB shows in an octet format and Grafana cannot perform a calculation on it to show bits/sec.
I need to know if there is a way for me to forward a modified interface metric to an external OpenTSDB in bits/sec.
I found a transform but I am not sure this will help me.
http://wiki.zenoss.org/Transforms_-_Nice_Interface_Events
Please let me know what my options are.
Thanks,
Ken
There are a few users that after logging into zenoss RM 4.2.4 cant search a device on the infrastructure tab. Actaully every tab is blank and no data is displayed. what is the cause and how to fix this? I cleared the zodb_session table and it did not fix the problem. Also had users clear cache and browser history and nothing has worked.
There are a few users that after logging into zenoss RM 4.2.4 cant search a device on the infrastructure tab. Actaully every tab is blank and no data is displayed. what is the cause and how to fix this? I cleared the zodb_session table and it did not fix the problem. Also had users clear cache and browser history and nothing has worked.
Hello all,
We need to create a threshold with an SNMP query string that returns two STRING values:
- "Inactive Event"
- "Alarm"
The SNMP query always returns one of these two values.How can we create a compatible threshold with Zenoss?
All SNMP queries and thresholds that we have, return always an INTEGER value, so it is easy to create the threshold (min-max type). But in this case we dont know how to "parse" string value for create threshold.
Sorry for my poor english....
Regards,
David.
Can anyone point me to a ZenPack that uses zenpacklib and has multiple relations. I would like to see the zenpack.yaml and modelers files to see the syntax since the doc only show 1 relation and I need to figure out syntax for multiple relations.
Thanks
Manuel
In our current Zenoss 2.x environment we use zensendevent on a remote server to send custom events to Zenoss. We are looking at migrating to Zenoss 5 soon, but I have been unable to use zensendevent to send custom events to my Zenoss 5 test box.
Has anyone been able to send events to Zenoss 5 with zensendevent, or have another solution?
Thanks
After bind this template to the FTP server, I will receive Error event
ServerName||/Status/Ftp|FtpMonitor|4
Message:"No data received from host"
1. Would you please advise when this error event will be trigged? When telnet 21 port failed?
2.Why we see the severity in FtpMonitor datasource is of Warning, but above alert is an error event?
Is this alert triggered by telnet 21 timeout 60 seconds or connection "Refuse"?
3. To use the template of FtpMonitor, Now I leave the setting as default. Any suggestion to set the value of Delay and other field for FTP service monitoring?
Thanks
Suddenly I am running into a problem with zenoss 4.2.3! The problem is that the system spits out a ton of these messages :
zen.ZenModeler: Can't find 'id' after self.objectMap(iface) -- ignoring this interface
The problem devices is our Cisco ASR9k's and results in that I do not get most of the interfaces into zenoss.
Read an article that mentions http://dev.zenoss.org/trac/ticket/4988 and zenpatch 13482, but here the trail goes dead.
Does anybody have a clue as how to fix this problem ?