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!
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!