Hi all,
Yesterday i learned that zenoss 4.2 has being released. how can't install it on ubuntu server 12.04 ?
Because i cannot see the .deb or the tar files to download on zenoss web site.
Hi all,
Yesterday i learned that zenoss 4.2 has being released. how can't install it on ubuntu server 12.04 ?
Because i cannot see the .deb or the tar files to download on zenoss web site.
Hello,
I'm trying to customize the e-mail notifications sent out by Zenoss Core 3.0.3. Here's what I have so far.
Summary:
%(device)s %(summary)s
Body:
Device: %(device)s
Component: %(component)s
Severity: %(severityString)s
Time: %(firstTime)s
Message:
%(message)s
<a href="%(eventUrl)s">Event Detail</a>
<a href="%(ackUrl)s">Acknowledge</a>
<a href="%(deleteUrl)s">Delete</a>
<a href="%(eventsUrl)s">Device Events</a>
This works great for most devices, however any devices that are not registered in DNS only show the IP address in the notfication. For example I have a device named BURL-SERVER-UPS. IP address 192.168.17.98
When the up/down notification gets sent, it gives a notification saying:
192.168.17.98 ip 192.168.17.98 is up
What field can I use so that the notification shows the Device Name rather than the IP?
Term | Description | ||
Execute Methods | Permits the user to execute methods defined on WMI classes. Corresponds to the WBEM_METHOD_EXECUTE access permission constant. | ||
Full Write | Permits full read, write, and delete access to WMI classes and class instances, both static and dynamic. Corresponds to the WBEM_FULL_WRITE_REP access permission constant. | ||
Partial Write | Permits write access to static WMI class instances. Corresponds to the WBEM_PARTIAL_WRITE_REP access permission constant. | ||
Provider Write | Permits write access to dynamic WMI class instances. Corresponds to the WBEM_WRITE_PROVIDER access permission constant. | ||
Enable Account | Permits read access to WMI class instances. Corresponds to the WBEM_ENABLE access permission constant. | ||
Remote Enable | Permits access to the namespace by remote computers. Corresponds to the WBEM_REMOTE_ACCESS access permission constant. | ||
Read Security | Permits read-only access to DACL settings. Corresponds to the READ_CONTROL access permission constant. | ||
Edit Security | Permits write access to DACL settings. Corresponds to the WRITE_DAC access permission constant. |
WmiSecurity.exe /C="%computername%" /A /N=Root/CIMV2 /M=" DOMAIN\USER:REMOTEACCESS" /R
I sure hope someone can help me figure this out. Been through all the logs, forums, and anything else I can think of, so as a last resort, I'm reaching out the community. I'm not a power linux user by any means, but know enough to be dangerous, to give you some background. All we need is simple monitoring and alerting, but without Zenhub, we don't get alerts, which isn't good. Zenhub won't stay running for a more than 2-3 days at this point, and it's been that way for months. There's nothing in the zenhub log. It just stops. I found this in zencommand log, which is the most information I can find on the issue.
2012-08-10 21:35:52,849 ERROR zen.zencommand: ZenHub is down
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 704, in doFetchConfig
self.setPropertyItems(driver.next())
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result
raise ex
HubDown: ZenHub is down
2012-08-10 21:35:53,342 ERROR zen.zencommand: ZenHub is down
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 752, in start
driver.next()
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result
raise ex
HubDown: ZenHub is down
2012-08-11 03:35:53,484 ERROR zen.zencommand: ZenHub is down
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 704, in doFetchConfig
self.setPropertyItems(driver.next())
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result
raise ex
HubDown: ZenHub is down
2012-08-11 03:35:53,685 ERROR zen.zencommand: ZenHub is down
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py", line 752, in start
driver.next()
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result
raise ex
We are running this on Ubuntu Linux 12.04.1 and Zenoss is the latest version: Zenoss 3.2.1.
I'd truly appreciate some help in getting this fixed. Please let me know if there is any other information I can provide. Thank you in advance.
Hello,
My ties with Ubuntu are deep, so I decided to write and share an install script for Zenoss 4.2.0. I've tested it with multiple installations, and so far everything is working like it should.
Any beta testers?
Notes: Ubuntu 12.04.1 x64 Server, fresh install, fully patched
Links: Blog Post with notes and full script
What would be the proper method to get Ubuntu as a supported operating system? I'm new to this community.
Having tried Zenoss and loving it i'm begining to fill it with routers i'm monitoring on the internet.
Als goes well and there's lots of info when something doesnt work or when you don't no how.
Great Community ;-)
But now i'm running in to an error i can't find on the forum and don't know how so solve.
I now have 30 routers on 30 diferent locations set up in Zenoss.
But now the Google Maps Portlet gives when the counter hits 14 of 30 the error :
"Google could not process addresses. Reason: OVER_QUERY_LIMIT"
My first thought. The google maps rquest limit of 25k (I don't have that many mappoint yet but maybee through some error)
But that was'nt the case. The report says about 100 query's on the google page for the first two days of testing.
I see somebody mentions(but for a complete different application) that there is a limit of adresses you can send to google in 1 or 2 seconds.
Kan this be limited in Zenoss so there will be a small delay in geo looking up. Or does anybody know where this error coems from
Also, if i'm not mistaking . Zenoss should cache the adresses so it doesn't have to look them up all the time , right ?
Everytime i get to the dashboard it starts over again with lookip up 1 0f 30 2 of 30 until 13 or 14 and then the error.
I already dit al clear geocache in the Infrastructure menu and also restarted zenoss a couple of times
Any help is welkom, i'm setting this up to convince my superior to switch to Zenoss in stead of OpenNMS an Nagios ;-)
Picture of error is attached
LITTLE UPDATE:
As far as i can check it should not re-geolocate every adres everytime.
I made a sub location container with 5 adresses. This works because i don't hit the 13 limit.
But ervery time i switch from and back to the dashboard is re-geolocates the adresses.So no cache is being used what so ever.
If i hit the 14 in this container i also get the query limit error again. But if it would cache i would have 3 times the error and then it would use the cached location
So where can i find the file or database entry where the cache is beining supposed to be build up, anyone ?
The actual implementation of the portlet and the map editor is fairly solid right now. We are currently monitoring about 1800 devices, most of which have placed into these hand-drawn maps. The individual maps load very quickly, and the portlet updates the map image seamlessly every 30 seconds.
I am not very familiar with zope, and the more I try to learn, the less it makes sense to me. There are a number of issues I am trying to solve that I would love some help with:
There was a sizeable thread on New ZenPacks in the Community in the old forums, I'm going to go ahead and restart it here. New ZenPacks get announced in zenoss-zenpacks as well.
Thanks,
Matt Ray
Zenoss Community Manager
I need to run a script on remote MS Win machine. The command I use locally is somethig like:
cscript d:\someuser\ConnectionTest.wsf
How I can run this from Zenoss? I have both ssh (cygwin) and WMI access from my Zenoss server to MS Win, but for some reason all my tries were unsuccessful :-(
TIA,
Vitaly
When I wanted to make the jump from the demo VM to a real Hyper-V VM, I found that the instructions were a bit all over the place and sometimes outdated. I want to write up a nice one, but until then I'm putting a more basic walkthrough here. Hope it helps someone. While I put the exact versions and environment, some of this is probably applicable to slightly different ones.
Installing a Centos 6.3/Zenoss Core 4.2.0 sp 1 VM from scratch on Windows Server 2008 R2 (System Center 2012)
A) Prepare the VM
B) Install CentOS and Hyper-V Integration
CentOS 6.3 should be installed properly. Now might be a good time to shut down and make a checkpoint/backup!
C) Install Zenoss 4.2.0
Zenoss 4.2.0 should be installed properly. Now might be another good time to shut down and make a checkpoint/backup!
D) Update to 4.2.0 sp 1
E) Miscellaneous
Zenoss 4.2.0 sp 1 should be installed properly. You know what it's a good time for by this point.
Hi all,
Yesterday i learned that zenoss 4.2 has being released. how can't install it on ubuntu server 12.04 ?
Because i cannot see the .deb or the tar files to download on zenoss web site.
Following this article, I could redirect all of the requests sent to http://mydomain.com/zport/dmd to zenoss very well.
RewriteEngine On
RewriteRule ^/(.*) http://5.191.28.77:8080/VirtualHostBase/http/%{SERVER_NAME}:80/$1 [P,L]
But, I need to redirect to zenoss only the requests sent to http://mydomain.com/monitor
How can I do that? Is it possible using a Location tag?
Starting MySQL SUCCESS!
Zenoss not initialized. Performing first-boot initialization..
Fresh install pre steps Please confirm that the JRE in the PATH is Oracle's version.
Running CentOS Server v.6
Executed auto-deploy script
Please advice!
snmpGetTableMaps = ( # If table GetTableMap('iftable', '.1.3.6.1.2.1', {'.2.2.1.1': 'ifindex', '.2.2.1.2' : 'id', # ------------------------------------------------- # Added to get CatOS port name # -------------------------------------------------- '.31.1.1.1.1': 'id', # -------------------------------------------------- '.2.2.1.3': 'type', '.2.2.1.4': 'mtu', '.2.2.1.5': 'speed', '.2.2.1.6': 'macaddress', '.2.2.1.7': 'adminStatus', '.2.2.1.8': 'operStatus'} ), # ipAddrTable is the better way to get IP addresses GetTableMap('ipAddrTable', '.1.3.6.1.2.1.4.20.1', {'.1': 'ipAddress', '.2': 'ifindex', '.3': 'netmask'} ), # Use the ipNetToMediaTable as a backup to the ipAddrTable GetTableMap('ipNetToMediaTable', '.1.3.6.1.2.1.4.22.1', {'.1': 'ifindex', '.3': 'ipaddress', '.4': 'iptype'} ), # Interface Description GetTableMap('ifalias', '.1.3.6.1', {'.2.1.31.1.1.1.18' : 'description', '.2.1.31.1.1.1.15' : 'highSpeed'} ), # ------------------------------------------------- # Added to get CatOS descriptions # -------------------------------------------------- GetTableMap('ifCatOS', '.1.3.6.1.4.1.9.5.1.4.1.1', {'.11' : 'ifindex', '.1' : 'ifmodule', '.2' : 'ifport', '.4' : 'description', } ), # -------------------------------------------------- ) #dontCollectInterfaceTypes = (1, 18, 76, 77, 81, 134) def process(self, device, results, log): """collect snmp information from this device""" getdata, tabledata = results log.info('processing %s for device %s', self.name(), device.id) rm = self.relMap() iptable = tabledata.get("ipAddrTable") \ or tabledata.get("ipNetToMediaTable") iftable = tabledata.get("iftable") ifalias = tabledata.get("ifalias") if iptable is None or iftable is None: return if not ifalias: ifalias = {} # ------------------------------------------------- # Added to get CatOS descriptions # -------------------------------------------------- ifCatOS = tabledata.get("ifCatOS") # -------------------------------------------------- # add interface alias (cisco description) to iftable for ifidx, data in ifalias.items(): if not iftable.has_key(ifidx): continue iftable[ifidx]['description'] = data.get('description', '') # if we collect ifAlias name use it # this is in the map subclass InterfaceAliasMap id = data.get('id', None) if id: iftable[ifidx]['id'] = id iftable[ifidx]['description'] = data.get('description', '') # -------------------------------------------------- # Added to get CatOS descriptions # -------------------------------------------------- if data.get('description', '') == '': if not ifCatOS: ifCatOS = {} if ifCatOS <> {}: for ifidx2, data2 in ifCatOS.items(): if iftable[ifidx]['ifindex'] == ifCatOS[ifidx2]['ifindex']: iftable[ifidx]['description'] = data2.get('description', ' ') # -------------------------------------------------- # handle 10GB interfaces using IF-MIB::ifHighSpeed
Hi all,
Yesterday i learned that zenoss 4.2 has being released. how can't install it on ubuntu server 12.04 ?
Because i cannot see the .deb or the tar files to download on zenoss web site.
Hello,
I'm trying to customize the e-mail notifications sent out by Zenoss Core 3.0.3. Here's what I have so far.
Summary:
%(device)s %(summary)s
Body:
Device: %(device)s
Component: %(component)s
Severity: %(severityString)s
Time: %(firstTime)s
Message:
%(message)s
<a href="%(eventUrl)s">Event Detail</a>
<a href="%(ackUrl)s">Acknowledge</a>
<a href="%(deleteUrl)s">Delete</a>
<a href="%(eventsUrl)s">Device Events</a>
This works great for most devices, however any devices that are not registered in DNS only show the IP address in the notfication. For example I have a device named BURL-SERVER-UPS. IP address 192.168.17.98
When the up/down notification gets sent, it gives a notification saying:
192.168.17.98 ip 192.168.17.98 is up
What field can I use so that the notification shows the Device Name rather than the IP?
snmpGetTableMaps = ( # If table GetTableMap('iftable', '.1.3.6.1.2.1', {'.2.2.1.1': 'ifindex', '.2.2.1.2' : 'id', # ------------------------------------------------- # Added to get CatOS port name # -------------------------------------------------- '.31.1.1.1.1': 'id', # -------------------------------------------------- '.2.2.1.3': 'type', '.2.2.1.4': 'mtu', '.2.2.1.5': 'speed', '.2.2.1.6': 'macaddress', '.2.2.1.7': 'adminStatus', '.2.2.1.8': 'operStatus'} ), # ipAddrTable is the better way to get IP addresses GetTableMap('ipAddrTable', '.1.3.6.1.2.1.4.20.1', {'.1': 'ipAddress', '.2': 'ifindex', '.3': 'netmask'} ), # Use the ipNetToMediaTable as a backup to the ipAddrTable GetTableMap('ipNetToMediaTable', '.1.3.6.1.2.1.4.22.1', {'.1': 'ifindex', '.3': 'ipaddress', '.4': 'iptype'} ), # Interface Description GetTableMap('ifalias', '.1.3.6.1', {'.2.1.31.1.1.1.18' : 'description', '.2.1.31.1.1.1.15' : 'highSpeed'} ), # ------------------------------------------------- # Added to get CatOS descriptions # -------------------------------------------------- GetTableMap('ifCatOS', '.1.3.6.1.4.1.9.5.1.4.1.1', {'.11' : 'ifindex', '.1' : 'ifmodule', '.2' : 'ifport', '.4' : 'description', } ), # -------------------------------------------------- ) #dontCollectInterfaceTypes = (1, 18, 76, 77, 81, 134) def process(self, device, results, log): """collect snmp information from this device""" getdata, tabledata = results log.info('processing %s for device %s', self.name(), device.id) rm = self.relMap() iptable = tabledata.get("ipAddrTable") \ or tabledata.get("ipNetToMediaTable") iftable = tabledata.get("iftable") ifalias = tabledata.get("ifalias") if iptable is None or iftable is None: return if not ifalias: ifalias = {} # ------------------------------------------------- # Added to get CatOS descriptions # -------------------------------------------------- ifCatOS = tabledata.get("ifCatOS") # -------------------------------------------------- # add interface alias (cisco description) to iftable for ifidx, data in ifalias.items(): if not iftable.has_key(ifidx): continue iftable[ifidx]['description'] = data.get('description', '') # if we collect ifAlias name use it # this is in the map subclass InterfaceAliasMap id = data.get('id', None) if id: iftable[ifidx]['id'] = id iftable[ifidx]['description'] = data.get('description', '') # -------------------------------------------------- # Added to get CatOS descriptions # -------------------------------------------------- if data.get('description', '') == '': if not ifCatOS: ifCatOS = {} if ifCatOS <> {}: for ifidx2, data2 in ifCatOS.items(): if iftable[ifidx]['ifindex'] == ifCatOS[ifidx2]['ifindex']: iftable[ifidx]['description'] = data2.get('description', ' ') # -------------------------------------------------- # handle 10GB interfaces using IF-MIB::ifHighSpeed
When I wanted to make the jump from the demo VM to a real Hyper-V VM, I found that the instructions were a bit all over the place and sometimes outdated. I want to write up a nice one, but until then I'm putting a more basic walkthrough here. Hope it helps someone. While I put the exact versions and environment, some of this is probably applicable to slightly different ones.
Installing a Centos 6.3/Zenoss Core 4.2.0 sp 1 VM from scratch on Windows Server 2008 R2 (System Center 2012)
A) Prepare the VM
B) Install CentOS and Hyper-V Integration
CentOS 6.3 should be installed properly. Now might be a good time to shut down and make a checkpoint/backup!
C) Install Zenoss 4.2.0
Zenoss 4.2.0 should be installed properly. Now might be another good time to shut down and make a checkpoint/backup!
D) Update to 4.2.0 sp 1
E) Miscellaneous
Zenoss 4.2.0 sp 1 should be installed properly. You know what it's a good time for by this point.
Hi,
I'm getting this error when I bind the WMITerminalServer Template to my organiser to view Terminal sessions performance information.
Could not read the WMI value (NT code 0x80041010). Check your username/password settings and verify network connectivity.
This zenpack uses the following WQL command to receive the information.
ZenPacks.community.WMIPerf_TerminalServer Version 1.0 Author Johan Keskitalo
SELECT ActiveSessions,InactiveSessions,TotalSessions FROM Win32_PerfRawData_TermService_TerminalServices
As soon as I unbind the template, the error stops.
The WMIPerformanceMonitor Zenpack uses the below command to obtain the same information and the error does not appear.
Name WMIPerformanceMonitor Version Author
Can anyone tell me why this error appears with a WQL command
The servers are Windows 2003 Standard x64 and besides receiving the error, the performance counters to appear in the Graph