Hi everyone, can I add the relationship between the component in a device with another device?
Thank you in advance!
------
James
Hi everyone, can I add the relationship between the component in a device with another device?
Thank you in advance!
------
James
Background:
Having downloaded the VMware Player Edition of Zenoss Core (4.2 I think).. I needed it to run on an ESXi instance; so I migrated it using vSphere Converter... worked really smoothly. Uploaded to SAN storage and imported the VM.. sweet it worked! Powered on..
Configured the static IP using NANO and the /etc/networking/interfaces file..
Rebooted and managed to get the web interface for the first time..(10.0.91.10)
Added a public firewall NAT plus a DNS record and away we go..
http://monitoring.company.com:8080
*i'll deal with HTTPS later..
Getting things moving:
I setup a discover of SNMP devices and spent days configuring all my network devices to support a private SNMP community.. I finally got green lights! Not bothered extending to the Windows/Linux Systems yet as I want to expand the SNMP capabilities by utilising MIB packs.
Reading:
ZenPacks as it's referred to in the Zenoss world (MIB pack + objects + locations + commands + additional device classes + object specific monitors etc)..
I uploaded a dozen or so ZenPacks via the /zport/ URL; which appear to have uploaded (Login>Advanced>ZenPacks>Upload>Select ZIP file>Upload>wait..
Unfortunately, no additional device classes have appeared; and no additional options appear next to my network devices in the /zport/ gui.
Here are the list of ZenPacks that Zenoss web interface believes are installed...
ZenPacks.zenoss.ActiveDirectory
ZenPacks.zenoss.ApacheMonitor
ZenPacks.zenoss.DellMonitor
ZenPacks.zenoss.DeviceSearch
ZenPacks.zenoss.DigMonitor
ZenPacks.zenoss.DnsMonitor
ZenPacks.zenoss.EsxTop
ZenPacks.zenoss.FtpMonitor
ZenPacks.zenoss.HPMonitor
ZenPacks.zenoss.HttpMonitor
ZenPacks.zenoss.IISMonitor
ZenPacks.zenoss.IRCDMonitor
ZenPacks.zenoss.JabberMonitor
ZenPacks.zenoss.LDAPMonitor
ZenPacks.zenoss.LinuxMonitor
ZenPacks.zenoss.MSExchange
ZenPacks.zenoss.MSMQMonitor
ZenPacks.zenoss.MSSQLServer
ZenPacks.zenoss.MySqlMonitor
ZenPacks.zenoss.NNTPMonitor
ZenPacks.zenoss.NtpMonitor
ZenPacks.zenoss.PySamba
ZenPacks.zenoss.WindowsMonitor
ZenPacks.zenoss.XenMonitor
ZenPacks.zenoss.ZenAWS
ZenPacks.zenoss.ZenJMX
ZenPacks.zenoss.ZenossVirtualHostMonitor
Some of the key ZenPacks should give me capabilities of doing additional stuff; like so:
http://community.zenoss.org/docs/DOC-11311
*See additional SNMP Object IDs; EG monitor consumable information...
Unfortunately it would appear that the ZenPacks don't offer any of these options at any of the Device Branches that it suggests...
EG: The class: Devices\HTTP exists; 11 objects (individual IPs) are added in the Devices\HTTP class but the zProperties (or Configuration Properties as it's now known) doesn't give me any more options..
Adding a monitored object under this device class too doesn't give any further options (Devices\HTTP\Object Underneath > PLUS Symbol [bottom left] > No additional options).
No HTTP username or password options are available under this device class>details>configuration properties.. i'm a little confused to be honest, as the Template clearly shows HttpMonitor as an additional class.
This specific ZenPack isn't the only one i'm having this issue with - infact ALL of the packs listed above are giving me the same trouble.
Have I done anything wrong, or am I just being stupid?
Hi,
Firstly I am a new user of Zenoss, so sorry if this is going to be something simple, but I have searched around and can't find an answer
I have installed the Juniper Routers / Switches / Firewalls Zenpack, and it seemd to install all ok, however on adding an MX240 device I dont see all the entries that I think should be there under the Components section. Currenlty I only see Interface, IP Services, JuniperPowerSupply, JuniperFan & Filesystems.
Looking at the screenshots of the Zenpack there should be entries for FPC's, MIC's RE's etc etc.... plus also an entry for Juniper Information, all of this is missing.
Im hoping this is going to be a simple setting somewhere I have missed, but any help would be fantastic
Thanks,
Mike
Hi, everyone here. I would like to know if I use a modeler plugin in a device, can I make a component in another device?
Now I am developping a zenpack. And I want to know how to make a component template. What's the different between perf template and component template?
-----
James
Hi,
I'm currently testing Zenoss 4.2 in order to deploy it as soon as I straighten all annoyances.
One show stopper I encounter is I can't make esxtop work properly in Zenoss. Resxtop works well from command line. check_esxtop as well. But in Zenoss, all I get is a component named "Virtual Machines" with the number of Vm's on the host. But clicking this componed won't list any vm's on the right pane. The events list for this device says "No data returned from this command".
zCommandUserName and Password are set for the esxtop class. Modeling seems to act correctly.
Is anybody having problems with esxtop under Zenoss 4.2?
In 3.2, I used to use VMWare Esxi monitor because I couldn't make esxtop work at that time. So I'm new to esxtop. I thought it is a good idea to use it as it is supplied with the core zenpack bundle.
I run zenoss in CentOS 6.1 with most current packages.
Thanks
Hi All,
I see that , whenever we configure network device to monitor network through put the event message would come up some thing as below . I was just wondering why is it in number and why not in percentage . How can we chage this to show it in percentage value
Event Management...
| ||||||||||||||
|
Hi everyone,
Now I want to develop a zenpack to add a component like the Ip Service component and I can click "Add Ip Service" at the bottom. So my question is how can I add the button like "Add Ip Service"? I want to add the button in the iron like + on the Lower left.
Thanks in advance!!!
------
James
Hello all, I have a error when install the zenpack
ZenPacks.community.WMIPerf_Windows-2.5 on Zenoss 3.2.1
this is the error, ¿is problem of my server? or is problem of zenoss?
zenpack --install ZenPacks.community.WMIPerf_Windows-2.4.egg
Link to http://pypi.python.org/simple/ZenPacks.community.SQLDataSource/ ***BLOCKED*** by --allow-hosts
Couldn't find index page for 'ZenPacks.community.SQLDataSource' (maybe misspelled?)
Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts
No local packages or download links found for ZenPacks.community.SQLDataSource>=2.0
Couldn't find index page for 'ZenPacks.community.SQLDataSource' (maybe misspelled?)
No local packages or download links found for ZenPacks.community.SQLDataSource>=2.0
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 406, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 134, in run
Thank to all.
Hi,
I'm attempting to upgrade a test 2.5.2 box (CentOS 5.5 x86) to 3.0.3, but one of our home grown ZenPacks is stopping the upgrade as it's not compatible. The problem is that I can't uninstall it. I've tried via the GUI which does nothing and the command line:
$ zenpack --remove=Device_Server_Linux_Class
ERROR: zenpack command failed. Reason: ObjectNotFound: object <ZenPackManager at ZenPackManager> was not found on <ToOneRelationship at manager>
I've also tried via zendmd:
$ zendmd
<snip>>>> dmd.ZenPackManager.packs._delObject('Device_Server_Linux_Class')
2012-01-23 09:50:38 WARNING OFS.Uninstalled Could not import class 'HttpMonitorDataSource' from module 'Products.HttpMonitor.datasources.HttpMonitorDataSource'
Traceback (most recent call last):
File "<console>", line 1, in ?
File "/opt/zenoss/Products/ZenRelations/ToManyRelationshipBase.py", line 79, in _delObject
self.removeRelation(obj)
File "/opt/zenoss/Products/ZenRelations/RelationshipBase.py", line 109, in removeRelation
self._remoteRemove(obj)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 177, in _remoteRemove
rel._remove(self.__primary_parent__)
File "/opt/zenoss/Products/ZenRelations/ToOneRelationship.py", line 91, in _remove
raise ObjectNotFound( "object %s was not found on %s" % (obj, self))
ObjectNotFound: object <ZenPackManager at ZenPackManager> was not found on <ToOneRelationship at manager>
>>>
On both this box (and a yet-untouched prod box) I can't even select the ZenPack in the GUI as it thows an error. So restoring from backup isn't much of an option as it's previously broken.
- Module zope.tales.tales, line 696, in evaluate
URL: file:/opt/zenoss/Products/ZenModel/skins/zenmodel/viewPackDetail.pt
Line 135, Column 4
Expression: <PythonExpr container.dmd.ZenTableManager.getBatch(tableName,objects,sortedHeader='getPrimaryDmdId')>
Names:{'container': <ZentinelPortal at /zport>, 'context': <ZenPack at /zport/dmd/ZenPackManager/packs/Device_Server_Linux_Class>, 'default': <object object at 0xb7f15538>, 'here': <ZenPack at /zport/dmd/ZenPackManager/packs/Device_Server_Linux_Class>, 'loop': {}, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xac866cc>, 'request': <HTTPRequest, URL=http://lqzen01:8080/zport/dmd/ZenPackManager/packs/Device_Server_Linux_Class>, 'root': <Application at >, 'template': <FSPageTemplate at /zport/viewPackDetail used for /zport/dmd/ZenPackManager/packs/Device_Server_Linux_Class>, 'traverse_subpath': [], 'user': <PropertiedUser 'admin'>}- Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
__traceback_info__: container.dmd.ZenTableManager.getBatch(tableName,objects,sortedHeader='getPrimaryDmdId')- Module PythonExpr, line 1, in <expression>
Anyone got an idea of how to get round this. I've noticed a few similar posts over the past year or two, but they don't seem to end in a solution.
Thanks in advance!
hi , all
I had read a lot of doc about how to write a zenpack , but I still confused with a simple question .
How to write a python zenpack , which no needs of view / browser support , just export string data as json format by api call .
For simple ,
The zenpack just return " Hello World " plain text , when client use api call it .
After several day's hard reading , I am stll have no any idea about how to make a so simple zenpack!
I need your help ,
thanks again.
Dear all,
This is my machine specs :
OS : Centos 6.4 X64
Zenoss : 4.2.3
[root@Zenoss ~]# rpm -qa | grep python
python-pycurl-7.19.0-8.el6.x86_64
python-2.6.6-36.el6.x86_64
python-libs-2.6.6-36.el6.x86_64
python-iniparse-0.3.1-2.1.el6.noarch
newt-python-0.52.11-3.el6.x86_64
rpm-python-4.8.0-32.el6.x86_64
python-urlgrabber-3.9.1-8.el6.noarch
i just wanted to install this handy zenpack through Git, after downloading the package from github i tried to install it with Command in below . but the following issues happend :
[zenoss@Zenoss ZenPacks]$ zenpack --link --install ZenPacks.ShaneScott.CPUCount/
2013-05-06 17:10:53,273 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/Products/ZenPacks.ShaneScott.CPUCount/reports
2013-05-06 17:10:53,517 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 183, in run
self.install(packName)
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 324, in install
zp.install(self.app)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
loader.load(self, app)
File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 312, in load
registerSkin(app.zport.dmd, skinsDir)
File "/opt/zenoss/Products/ZenUtils/Skins.py", line 66, in registerSkin
addDirectoryViews(skinstool, path, dict(__name__=root))
File "/opt/zenoss/lib/python/Products/CMFCore/DirectoryView.py", line 612, in addDirectoryViews
package = getPackageName(_prefix)
File "/opt/zenoss/lib/python/Products/CMFCore/utils.py", line 867, in getPackageName
return getContainingPackage(module)
File "/opt/zenoss/lib/python/Products/CMFCore/utils.py", line 847, in getContainingPackage
mod = sys.modules[name]
KeyError: 'ZenPacks.ShaneScott.CPUCount'
Thanks to Zenoss Community member Richard Esteve for updating the WMI Exchange 2003 ZenPack. This release corrects a WMI request and is Zenoss 3.0 compatible.
Thanks Richard!
Hi everyone, I want to add the "Related XX" like rabbitmq zenpack. But I know I should add the code as following in a js file:
Zenoss.nav.appendTo('Component', [{
id: 'component_rabbitmq_vhosts',
text: _t('Related VHosts'),
xtype: 'RabbitMQVHostPanel',
subComponentGridPanel: true,
filterNav: function(navpanel) {
if (navpanel.refOwner.componentType == 'RabbitMQNode') {
return true;
} else {
return false;
}
},
setContext: function(uid) {
ZC.RabbitMQVHostPanel.superclass.setContext.apply(this, [uid]);
}
}]);
But what's the key? Only adding the coding like this can't display the related things. Who knows the key problem? Thanks in advance!
-----
James
http://community.zenoss.org/docs/DOC-8508
i installed this zenpack successfully but as i just wanted to create a ruleset i got an error. I dont have any problem for adding an organizer .
Type: <class 'zExceptions.BadRequest'>
Value: ('Empty or invalid id specified', '')
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/ZenPacks/ZenPacks.community.zenAppProfiler-1.7-py2.7.egg/ZenPacks/community/zenAppProfiler/ProfileOrganizer.py", line 190, in manage_addProfileRuleset self.createProfileRuleset(id,description,matchAll,bindTemplates,rulesetUsers,rulesetGroups,rulesetTemplates,rulesetGroupOrganizers,rulesetSystemOrganizers) File "/opt/zenoss/ZenPacks/ZenPacks.community.zenAppProfiler-1.7-py2.7.egg/ZenPacks/community/zenAppProfiler/ProfileOrganizer.py", line 131, in createProfileRuleset ruleset.updateRuleset() File "/opt/zenoss/ZenPacks/ZenPacks.community.zenAppProfiler-1.7-py2.7.egg/ZenPacks/community/zenAppProfiler/ProfileRuleset.py", line 188, in updateRuleset self.updateOrganizerRules('Group',self.rulesetGroupOrganizers) File "/opt/zenoss/ZenPacks/ZenPacks.community.zenAppProfiler-1.7-py2.7.egg/ZenPacks/community/zenAppProfiler/ProfileRuleset.py", line 240, in updateOrganizerRules rule = self.createRule(ruleid) File "/opt/zenoss/ZenPacks/ZenPacks.community.zenAppProfiler-1.7-py2.7.egg/ZenPacks/community/zenAppProfiler/ProfileRuleset.py", line 297, in createRule self.rules._setObject(rule.id, rule) File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 128, in _setObject self.addRelation(object) File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 118, in addRelation ToManyRelationshipBase.addRelation(self, obj) File "/opt/zenoss/Products/ZenRelations/RelationshipBase.py", line 93, in addRelation self._add(obj) File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 153, in _add v=checkValidId(self, id) File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 94, in checkValidId raise BadRequest, ('Empty or invalid id specified', id) BadRequest:
('Empty or invalid id specified', '')
Background:
Having downloaded the VMware Player Edition of Zenoss Core (4.2 I think).. I needed it to run on an ESXi instance; so I migrated it using vSphere Converter... worked really smoothly. Uploaded to SAN storage and imported the VM.. sweet it worked! Powered on..
Configured the static IP using NANO and the /etc/networking/interfaces file..
Rebooted and managed to get the web interface for the first time..(10.0.91.10)
Added a public firewall NAT plus a DNS record and away we go..
http://monitoring.company.com:8080
*i'll deal with HTTPS later..
Getting things moving:
I setup a discover of SNMP devices and spent days configuring all my network devices to support a private SNMP community.. I finally got green lights! Not bothered extending to the Windows/Linux Systems yet as I want to expand the SNMP capabilities by utilising MIB packs.
Reading:
ZenPacks as it's referred to in the Zenoss world (MIB pack + objects + locations + commands + additional device classes + object specific monitors etc)..
I uploaded a dozen or so ZenPacks via the /zport/ URL; which appear to have uploaded (Login>Advanced>ZenPacks>Upload>Select ZIP file>Upload>wait..
Unfortunately, no additional device classes have appeared; and no additional options appear next to my network devices in the /zport/ gui.
Here are the list of ZenPacks that Zenoss web interface believes are installed...
ZenPacks.zenoss.ActiveDirectory
ZenPacks.zenoss.ApacheMonitor
ZenPacks.zenoss.DellMonitor
ZenPacks.zenoss.DeviceSearch
ZenPacks.zenoss.DigMonitor
ZenPacks.zenoss.DnsMonitor
ZenPacks.zenoss.EsxTop
ZenPacks.zenoss.FtpMonitor
ZenPacks.zenoss.HPMonitor
ZenPacks.zenoss.HttpMonitor
ZenPacks.zenoss.IISMonitor
ZenPacks.zenoss.IRCDMonitor
ZenPacks.zenoss.JabberMonitor
ZenPacks.zenoss.LDAPMonitor
ZenPacks.zenoss.LinuxMonitor
ZenPacks.zenoss.MSExchange
ZenPacks.zenoss.MSMQMonitor
ZenPacks.zenoss.MSSQLServer
ZenPacks.zenoss.MySqlMonitor
ZenPacks.zenoss.NNTPMonitor
ZenPacks.zenoss.NtpMonitor
ZenPacks.zenoss.PySamba
ZenPacks.zenoss.WindowsMonitor
ZenPacks.zenoss.XenMonitor
ZenPacks.zenoss.ZenAWS
ZenPacks.zenoss.ZenJMX
ZenPacks.zenoss.ZenossVirtualHostMonitor
Some of the key ZenPacks should give me capabilities of doing additional stuff; like so:
http://community.zenoss.org/docs/DOC-11311
*See additional SNMP Object IDs; EG monitor consumable information...
Unfortunately it would appear that the ZenPacks don't offer any of these options at any of the Device Branches that it suggests...
EG: The class: Devices\HTTP exists; 11 objects (individual IPs) are added in the Devices\HTTP class but the zProperties (or Configuration Properties as it's now known) doesn't give me any more options..
Adding a monitored object under this device class too doesn't give any further options (Devices\HTTP\Object Underneath > PLUS Symbol [bottom left] > No additional options).
No HTTP username or password options are available under this device class>details>configuration properties.. i'm a little confused to be honest, as the Template clearly shows HttpMonitor as an additional class.
This specific ZenPack isn't the only one i'm having this issue with - infact ALL of the packs listed above are giving me the same trouble.
Have I done anything wrong, or am I just being stupid?
http://community.zenoss.org/docs/DOC-3457
After i installed this ZenPack successfully . I added the portlet to the Dashboard. but i dont know how does it work ? there is no option for adding Devices, Events, or anything in its setting .
Can anyone help me how does it work ?
OS : centos 6.X 64bit
Zenoss 4.2.3
Thanks
Has anyone been successful with this? I've followed the advanced guide, the youtube video and everything else I could find, but I cannot seem to properly monitor ESXi 5.1 servers. It seems like all the How-To's are out of date for this.
I was able to install the VMware SDK and all the pre-req's (what a nightmare), along with figuring out the SSL problem (need to have a valid SSL cert on the ESXi server... 5.1 bug). So the environment is working, the command line is working, but I can't get anything to show up in Zenoss.
I'm trying to monitor things such as data store connectivity, CPU utilization, etc (of the ESXi server, not the VM's).
Any comments appreciated.
-Sean
http://community.zenoss.org/docs/DOC-10224
Dear all
After i installed this very handy zenpack, in my localy Defined HttpMonitor Template , i added a new FORMULA type DataSource and named it TS.
Normally it automatically creates a corresponding GAUGE type Datapoint "TS.TS"
Now my Template look likes below :
DSource1
DSource2
FormulaDSource //TS
I double clicked on FormulaDPoint (here as TS.TS) and now i dont know where to write my Formula ?!
In CREATE COMMAND or ID/FORMULA or RRD Minimum Maximum ?
My formula is $DSource1_DPoint2 + $DSource2_DPoint4