scratchspace | 1 May 2009 01:25

Nightly remodeling of devices

I have several servers with aliased IP addresses for DNS, Sendmail, etc. This allows the services to be
moved to other servers if needed for capacity without DNS record changes.

During discovery, these host IP addresses were picked up as if they were full hosts. While I'd argue that
ZenOSS should have been able to figure this out given the common MAC addr, this is tolerable behavior.

For these virtual IP address, I un-bound the Linux device template, and bound appropriate templates
(DigMonitor), or added specific IP Service monitors. I also deleted all of the profiled information on
the OS tab, as I don't want multiple alerts when the primary host has a disk space issue for example.

Unfortunately every night this information magically re-appears. I even tried locking each item from
updates, but this setting is blatantly ignored, or so it seems.

An additional annoyance is that Apache is detected under OS Processes as "/usr/sbin/httpd" and "httpd".
The latter is always in an error status, and this annoyance is preventing me from going into production
with ZenOSS.

Can someone explain how to disable this auto-remodeling of the devices. Any ideas why the second erroneous
httpd process appears?

Chris

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34117#34117

-------------------- m2f --------------------
Matt Ray | 1 May 2009 03:48
Favicon

Re: New ZenPacks in the Community

Zenoss Community member Tonino Greco has updated the Printer Toner  
ZenPack.  This release contains changes made to the reporting of the  
current level in printer toner.  Now it is updated from the RRDValues  
rather than from the modeller. This means changes to the toner levels  
are reported accurately.

Printer Toner ZenPack: http://www.zenoss.com/community/projects/zenpacks/printertoner
Community ZenPack Repository:  http://community.zenoss.org/trac-zenpacks/wiki/ZenPackscommunityPrinterToner

Thanks Tonino!

Thanks,Matt Ray
Zenoss Community Manager
community.zenoss.com
mray <at> zenoss.com
tima26 | 1 May 2009 11:10
Picon

Re: Can't add Windows devices without snmp & question on Cis

Added the switch & server as Device Class =/Ping & Discovery Protocol =None, but get the same error.

For switches do you have to use SNMP & configure that on the switch ?

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34123#34123

-------------------- m2f --------------------
James Pulver | 1 May 2009 14:03
Picon
Favicon

Re: Free disk space alerting based on bytes free not % used

Well, it looks like it knows free bytes on the OS tab, but I believe 
from the datasource that it's deriving that from usedblocks + total 
blocks... It seems like you'd need a datasource that pulls freeblocks 
and then threshold against that...

It wouldn't require extensive scripting to have a script that pulled 
that info and then you could graph it and use standard thresholds I 
believe... And it's already available, I'm just not sure how you access 
it... Hopefully someone more knowledgeable in the various python methods 
available can comment.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University

bwitherell wrote, On 4/30/2009 5:12 PM:
> Hello,
> 
> I have been trying to figure this out for quite some time now. And I think it would be very useful.
> 
> I can't for the life of me figure out how to create an alert based on the number of free bytes instead of the %
disk space used for a windows volume.
> 
> Does anyone know a relatively easy way to do this? Or is this something that requires extensive scripting? 
> 
> Thanks,
> Brad
> 
> 
(Continue reading)

James Pulver | 1 May 2009 14:07
Picon
Favicon

Re: Can't add Windows devices without snmp & question on Cis

Are you able to add any devices (that have SNMP) at all?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University

tima26 wrote, On 5/1/2009 5:10 AM:
> Added the switch & server as Device Class =/Ping & Discovery Protocol =None, but get the same error.
> 
> For switches do you have to use SNMP & configure that on the switch ?
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=34123#34123
> 
> -------------------- m2f --------------------
> 
> 
> 
> _______________________________________________
> zenoss-users mailing list
> zenoss-users <at> zenoss.org
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
Rudy88 | 1 May 2009 14:12

Directory to backup in zenoss/moving to a new server

I have a little less than 500 devices configured in zenoss and its time to upgrade the server its currently
running on. For some reason, zenbackup will not work. I keep getting mysql errors.

What is the easiest why to migrate zenoss? Which directories should I move that will keep all the device information?

Thanks!

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34127#34127

-------------------- m2f --------------------
James Pulver | 1 May 2009 14:22
Picon
Favicon

Re: Directory to backup in zenoss/moving to a new server

$ZENHOME, any custom stuff you've stored outside of that and a mysql 
dump.... The only thing I'm not sure on is the ZODB if ZenBackup isn't 
working. There's some applicable info here:
http://community.zenoss.org/trac-zenpacks/wiki/CommunityFAQGeneral?version=55#CanImigratefromaVMWareAppliancetoaZenossCorenativeinstall
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University

Rudy88 wrote, On 5/1/2009 8:12 AM:
> I have a little less than 500 devices configured in zenoss and its time to upgrade the server its currently
running on. For some reason, zenbackup will not work. I keep getting mysql errors.
> 
> What is the easiest why to migrate zenoss? Which directories should I move that will keep all the device information?
> 
> Thanks!
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=34127#34127
> 
> -------------------- m2f --------------------
> 
> 
> 
(Continue reading)

bwitherell | 1 May 2009 14:26
Picon
Favicon

Re: Free disk space alerting based on bytes free not % used

Thanks for the reply.

If i am understanding the way this works then, the filesystem template already gets the used space and total
size of the disk (in blocks of course). 
Then it uses those values to calculate the percentage of free space.

Would there be a simple way i could just modify this template to calculate the free space in blocks and then
convert it into bytes? It seems like I should be able to do this because I think the data needed to do the
calculation is already being accessed by that template.

Thanks,
Brad

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34131#34131

-------------------- m2f --------------------
mshundal | 1 May 2009 14:41

Re: dependencies... again!

/bump for a dev

-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34132#34132

-------------------- m2f --------------------
James Pulver | 1 May 2009 14:43
Picon
Favicon

Re: Free disk space alerting based on bytes free not % used

Well, that's what I understand, but
a) Make a local copy of that to play with unless you want to potentially 
risk a re-install of Zenoss
b) It seems to pull total blocks via the modeler (once every 12 hrs or 
so) and used blocks via SNMP in that template. It may be SNMP doesn't 
expose free blocks, so you can only get them via the calculation that's 
there. In which case you need to get what the current template gets plus 
do the extra calculation each poll, which would mean I believe a command 
datasource.

I was thinking that there might be a way to pull the data out of Zenoss, 
rather than using another SNMP get in your script. In fact, I'm sure 
there is a way to get the info (Chet had me doing it getting number of a 
particular event), I just don't know what it is. Perhaps zendmd?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University

bwitherell wrote, On 5/1/2009 8:26 AM:
> Thanks for the reply.
> 
> If i am understanding the way this works then, the filesystem template already gets the used space and
total size of the disk (in blocks of course). 
> Then it uses those values to calculate the percentage of free space.
> 
> Would there be a simple way i could just modify this template to calculate the free space in blocks and then
convert it into bytes? It seems like I should be able to do this because I think the data needed to do the
calculation is already being accessed by that template.
(Continue reading)


Gmane