Retrieving smart alerts by script

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
Hi,

I'm trying to retrieve smart alerts in order to allow zabbix to report theses problems into our centralized monitoring system.

I found the script alertcli.py that display the same alerts found in the web UI. It works fine, but it only work from root account.

I also found the file /tmp/alert. Seem like a serialized copy of the object containing the alerts returned by the alertcli.py script. The file is world readable, but I didn't found a way to use this file.

I also found the file /tmp/.smartalert. This file seem to contain only the alerts related to smart. The file is also world readable. Not sure what's the file format and didn't found a way to use it.

Any idea?

Thanks!
 

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
Hello,

Unfortunately, I didn't found a solution about this.
 
Top