Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread Edwin Zoeller
Thank you - Original Message - From: Esteban Monge [mailto:este...@nuevaeralatam.com] Sent: Friday, June 29, 2012 01:42 PM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version Hello you can use the next script to check version for: Debian Suse Red Hat You can modify fo

Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread Esteban Monge
Hello you can use the next script to check version for: Debian Suse Red Hat You can modify for other distributions... #!/bin/bash ## # Identify and show the Linux Version # Created by Esteban Monge # emo...@gbm.net # Version: 0.1 # 07/01/12

Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread Edwin Zoeller
Thanks to all on this From: MAD [mailto:m...@b-care.net] Sent: Friday, June 29, 2012 2:16 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Linux Kernel Version Hi, You could also do a SNMPWALK on the hrSWInstalledName table (1.3.6.1.2.1.25.6.3) and extract the latest instal

Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread Edwin Zoeller
Thanks From: Daniel Wittenberg [mailto:daniel.wittenberg.r...@statefarm.com] Sent: Thursday, June 28, 2012 10:18 PM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version I haven't seen one, but would be trivial to write one. You looking to see the rpm -q kernel output or someth

Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread James Pratt
I use check_snmp for that - Here is the service definition I use (You must have snmpd enabled on the host, and a community string defined etc) - ## check os version via snmp define command { command_namecheck_os command_line$USER1$/check_snmp -H $HOSTNAME$ -o SNMPv2-MIB:

Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread Edwin Zoeller
It would be what is installed. This came up yesterday during a migration of some VM's. These hosts would not come up after we moved them and was found to be a bug in the kernel for that version 5.5. Want to scan the other hosts scheduled for migration. Thanks, Ed From: Stuart Browne [mailto:s

Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread MAD
Hi, You could also do a SNMPWALK on the hrSWInstalledName table (1.3.6.1.2.1.25.6.3) and extract the latest installed kernel version by doing some regex work. Marc-André On 06/29/2012 08:45 AM, Stuart Browne wrote: Current as in installed, or current as in available? We wrote this a while