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

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

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 outp

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
rowne [mailto:stuart.bro...@ausregistry.com.au] Sent: Friday, June 29, 2012 01:45 AM To: Nagios Users List Subject: Re: [Nagios-users] Linux Kernel Version Current as in installed, or current as in available? We wrote this a while ago to see if the most recently installed kernel is the bootable k

Re: [Nagios-users] Linux Kernel Version

2012-06-29 Thread MAD
sion command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o SNMPv2-MIB::sysDescr.0 -P 2c -C public } The choice of what to use is yours. Stuart *From:*Daniel Wittenberg [mailto:daniel.wittenberg.r...@statefarm.com] *Sent:* Friday, 29 June 2012 1:18 PM *To:* Nagios Users List *Subject:* Re: [N

Re: [Nagios-users] Linux Kernel Version

2012-06-28 Thread Stuart Browne
day, 29 June 2012 1: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 something like uname -a? Dan On Jun 28, 2012, at 10:10 PM, Edwin Zoeller wrote: Does a

Re: [Nagios-users] Linux Kernel Version

2012-06-28 Thread Daniel Wittenberg
I haven't seen one, but would be trivial to write one. You looking to see the rpm -q kernel output or something like uname -a? Dan On Jun 28, 2012, at 10:10 PM, Edwin Zoeller wrote: Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Ple