Continue with my previous post on installing the Xymon, you can write your own monitor scripts. I wrote a script named v7000alerts to check whether there are active alerts in my IBM StorWize V7000.
1) Download the script v7000alerts to /home/xymon/server/ext, and run ‘chmod a+x v7000alerts’ and ‘chown xymon:xymon v7000alerts’.
2) Add the following into /home/xymon/server/etc/tasks.cfg
[v7000alerts]
ENVFILE /home/xymon/server/etc/xymonserver.cfg
NEEDS xymond
CMD $XYMONHOME/ext/v7000alerts
LOGFILE $XYMONSERVERLOGS/v7000alerts.log
INTERVAL 5m
3) Add your V7000 into the /home/xymon/server/etc/hosts.cfg file, here is a example:
# STORAGES PAGE
page storages STORAGES
group-compress <font size=”+1″>IBM StorWize V7000</font>
192.168.1.100 SYD-V7000 # v7000alerts sslcert https://192.168.1.100