Nagios keeping track of OS type.
Carroll, Jim P [PCS]
jcarro10 at sprintspectrum.com
Wed Aug 13 00:18:23 CEST 2003
Assumptions:
- you want the latest o/s version/type reported on-the-fly,
and automagically
- you're using NRPE
You could create a service on the client which kicks back the
appropriate string. For example:
command[check_linux_ver]=/bin/cat /proc/version
command[check_solaris_ver]=/bin/uname -a
Note that these will always return 0 (green), unless the NRPE
daemon is unavailable for any reason.
HTH.
jc
> -----Original Message-----
> From: Scott Zawalski [mailto:scott.zawalski at web.de]
> Sent: Tuesday, August 12, 2003 4:53 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios keeping track of OS type.
>
>
> I am looking for a easy way of keeping track of OS
> Version/Type in Nagios (Maybe a variable I can update in the
> host definition) without having to put the actual OS
> Name/Type in the Hostname or in any check description.
>
> Also while very useful the $USER1$ variables are not exactly
> the most descriptive variables is there any option to rename
> them? Since those do work in service/host notifications this
> could be an answer. However, I would like to have some what
> of a description in the variable :)
>
>
> Thanks
> ______________________________________________________________
> ______________
> ImmobilienScout24 - Uber 170.000 Immobilien - Finden Sie hier
> Ihre neue
> Traumwohnung! In Immobilien die Nr.1 im Netz:
http://info.is24.de/web.de
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list