To ease the pain in of adding new servers, just add all your ilo2 controller to your dns domain. I added a CNAME Entry for every server like
Now just create a hostextinfo file:
/usr/local/nagios/etc/hostextinfo_custom.cfg
# HP Server with ilo2 Controllers
define hostextinfo {
host_name server1,server2,server3,server4,serverX
notes <a href=https://$HOSTNAME$-ilo.mydomain.tld target=_blank style='text-decoration: underline'>$HOSTNAME$ -- ilo2 Webinterface</a>
icon_image hp.png
}
Now place something like: cfg_file hostextinfo_custom.cfg to your nagios.cfg to make sure it will be included on startup of the nagios daemon.
Now you will see a ilo2 Link in every Host View.
bohboh,
kratediggah
No comments:
Post a Comment