TECHZEN Zenoss User Community ARCHIVE  

Control device status without zenping

Subject: Control device status without zenping
Author: argaliev
Posted: 2016-09-15 06:38

Standard zenoss behaviour when using ping, onceapinghas failed, all data collection willallbe suspendeduntilpingaccessisrestore. At the same time device status changes from "UP" to "DOWN" and back.

if i want to monitor status another way (write custom Datasource Zenpack with PythonCollector), how can i change status of the device I can generate event with message that device is down, but it will not change status of device. Is there way to change status of device and not block custom datasource zenpack



Subject: Do you need to ping the
Author: Jay Stanley
Posted: 2016-09-15 10:30

Do you need to ping the device as well



Subject: If I remember correctly, you
Author: Jay Stanley
Posted: 2016-09-16 09:46

If I remember correctly, you can just send an alert with the event class /Status/Ping



Subject: So if with the option
Author: argaliev
Posted: 2016-09-18 11:40

So if optionzPingMonitoringIgnore is set,there are no way to control device status. Creat! Why just not give ability to user to choose what events can change device statusI expect this tobeabasic feature of monitoring.But, as it turned out, that is not here.



Subject: What product can you do that
Author: Jay Stanley
Posted: 2016-09-19 08:27

What product can you do that in Nagios I think is the only one. But I wouldn'twish Nagios on anyone :p

I am sure a ZenPack could be made to allow this functionality. Sounds like a fun project actually.



Subject: It may sounds like fun
Author: argaliev
Posted: 2016-09-20 00:18

It may sounds like fun project, but it is not. ZenPack is simple, it check device status in few steps:
1. check gateway, if not available, generate an event, otherwise - continue checks
2. hech management interface available(almost all my servers have management interface HP iLO)
3. check operation system ip available(manageIp in Zenoss)
When operation system ip is unavailable, generated critical event, but inside device panel status is "Up". This is confusing.



Subject: It would be fun.
Author: Jay Stanley
Posted: 2016-09-22 10:26

It would be fun.

When you say checks, is this one device or several



Subject: several
Author: argaliev
Posted: 2016-09-22 11:23

several



< Previous
Create development environment
  Next
zenpack linking issue - zenoss core 5.0.10
>