Page 1 of 1
How to pass OS info in Alerts
Posted: Wed Sep 18, 2013 12:52 am
by lafargeuser
I would like to pass OS information in alerts. If its windows server or Unix & its version in alerts.
How can I achive this ? which service or process should I monitor to get this details.
Re: How to pass OS info in Alerts
Posted: Wed Sep 18, 2013 10:15 am
by abrist
This can be tricky. You can take one of the easy roads:
1. Group servers by OS into hostgroups. Include the objects hostgroups in the notification message.
2. Do the same but with the hostname/display name.
3. Use free variables to store the OS, and include the free variable in the message.
Or the hard road:
Create a script to check the OS of all your servers using nmap. Then save this information to free variables (will require some SQL knowledge). Then include the free variable in your notification message.
Re: How to pass OS info in Alerts
Posted: Thu Sep 19, 2013 7:45 am
by lafargeuser
If I integrate Nagios to Puppet. Will I be able to get this info ?
Else is there any provision I can pass Hostgroup infomation in alerts.
Re: How to pass OS info in Alerts
Posted: Thu Sep 19, 2013 9:11 am
by slansing
No, I'm not sure what you are getting at but puppet is far from what you are trying to do here. It is a automation system.