TECHZEN Zenoss User Community ARCHIVE  

Disable monitoring during day for group of devices

Subject: Disable monitoring during day for group of devices
Author: [Not Specified]
Posted: 2016-10-04 05:36

Hi,

Long time zenoss user. We are on the core 5 release. One thing stops us using zenoss for our production servers. Hope someone can point in right direction as cannot find a way. Have trawled the forms and net too.

Our production servers are very latency sensitive during market trading hours (07:30 - 17:00). We do not want to run any active monitor polls against them during these hours but revert to usual monitoring templates outside the trading window.

I can see ways to write a time based transform to supress alerts. Can't find a way to supress monitoring traffic though.

Any help gladly received.



Subject: Why not use a dmd script in
Author: [Not Specified]
Posted: 2016-10-04 10:44

Why not use a dmd script in order to activate / deactivate monitoring templates or simply change Production State during these hours.

This dmd script can be executed as a cronjob.

Also, you might miss important data if you stop your monitoring during the most important hours. Maybe, you should focus on KPIs and remove useless data that would put a strain on your devices.



Subject: Use device administration
Author: [Not Specified]
Posted: 2016-10-04 12:32

Use device administration under details. This is like running cron job.

Thanks,

kr



Subject: I think you can put the
Author: [Not Specified]
Posted: 2016-10-04 14:11

I think you can put the devices in decommsioned in device administrationunder that time frame so that no polling happens.



Subject: Hi
Author: [Not Specified]
Posted: 2016-10-08 03:57

If you do not want polling to happen, then set the group of devices to decommissioned state using your script. Also put them back to Production when you want them in monitoring using the same script.



Subject: The only Production State
Author: Jane Curry
Posted: 2016-10-11 15:28

TheonlyProductionStatethatautomaticallystopsallmonitoringis Decommissioned; however,thezPropertyof zProdStateThreshold canbesetaspartofthe ConfigurationProperties ofadeviceordeviceclass.Thisvariablecontrolsthe ProductionStatevaluebeneathwhichallmonitoringceases.Bydefaultthisvalueis 300 whichmeansthatsettingaProductionStateof Maintenance does not preventping andsnmpmonitoring.IfyouwanttopreventallmonitoringforMaintenancestate devices,changethe zProdStateThreshold valueatthetopdeviceclasslevelto 301.

An alternative some people use is to create a new production state (from ADVANCED -> Settings -> State Conversions), and call it Unmonitored, whose value is less than the default zProdStateThreshold - 299 would work perfectly well. Then use the Unmonitored prod state as the target state in a maintenance window.

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



Subject: RE: The only Production State
Author: Joan
Posted: 2018-08-24 07:05

Just found this tip from Jane, thanks a lot I was looking into this for a long time


< Previous
Connect to this device using hostname instead of IP
  Next
ZenOss- Oracle Enterprise Manager Integration
>