Re: [Nagios-users] check_snmp syntax question

2013-02-05 Thread Kaplan, Andrew H.
plugin. -Original Message- From: Steven Carr [mailto:sjc...@gmail.com] Sent: Tuesday, February 05, 2013 1:02 PM To: Nagios Users List Subject: Re: [Nagios-users] check_snmp syntax question Have you tried the actual HP JetDirect plugin instead of trying to reinvent the wheel? check_hpjd

Re: [Nagios-users] check_snmp syntax question

2013-02-05 Thread Steven Carr
Have you tried the actual HP JetDirect plugin instead of trying to reinvent the wheel? check_hpjd? http://nagiosplugins.org/man/check_hpjd Steve On 5 February 2013 16:22, Kaplan, Andrew H. wrote: > Hello -- > > I am testing out check_snmp on our printers, and I have been successful > using the

[Nagios-users] check_snmp syntax question

2013-02-05 Thread Kaplan, Andrew H.
Hello -- I am testing out check_snmp on our printers, and I have been successful using the following syntax: ./check_snmp -H -C public -o sysDescr.0 which has provided the following output: SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM R.25.57,CIDATE 05/02/2006 |

[Nagios-users] check_snmp command

2012-12-16 Thread Nibin V M
Hello, I am trying to use check_snmp command and it is not working as expected. The command I tried is outlined below. ./check_snmp -H myhost -C public -o UCD-SNMP-MIB::extOutput.4 -w 500 -c 1000 SNMP OK - 1106 | UCD-SNMP-MIB::extOutput.4=1106 As per the check_snmp man page, it should show CRIT

Re: [Nagios-users] check_snmp

2012-08-27 Thread Andreas Ericsson
On 08/27/2012 03:20 PM, Brad Beckenhauer wrote: > I have got an app that require us to monitor the Swap file > space and trigger an alert when the Available Swap (free > space, falls below 500MB). Initially it seems pretty simple, but the > check_snmp plugin does not seem to be working with range

[Nagios-users] check_snmp

2012-08-27 Thread Brad Beckenhauer
I have got an app that require us to monitor the Swap file space and trigger an alert when the Available Swap (free space, falls below 500MB).  Initially it seems pretty simple, but the check_snmp plugin does not seem to be working with ranges. Here is the first command and it is correctly rep

Re: [Nagios-users] check_snmp Issue

2012-08-22 Thread Steven Carr
So as the error suggests it can't find the "SNMPv2-SMI" mib. Do you know where/if this mib is located on your system? Steve On 21 August 2012 05:44, Anjana Gonagala wrote: > Hi Team, > > We implemented the Nagios latest version in our organization and we are > experiencing following mentioned

[Nagios-users] check_snmp Issue

2012-08-22 Thread Anjana Gonagala
Hi Team, We implemented the Nagios latest version in our organization and we are experiencing following mentioned issue. We need to monitor switches, routers through "check_snmp" plugin and when executed the plugin, got the below error. root@bescmbex:/usr/lib/nagios/plugins# ./check_snmp -H

Re: [Nagios-users] check_snmp (External Command Error)

2012-03-20 Thread Davey, Jatin Kumar (Jatin Kumar)
: Tuesday, March 20, 2012 11:02 PM To: Nagios Users List Subject: Re: [Nagios-users] check_snmp (External Command Error) I think your OID needs to be all numerical. (translate iso into the numerical prefix). -- Robert G. Werner Oracle Apps Systems Administrator rwer...@pomwonderful.com

Re: [Nagios-users] check_snmp (External Command Error)

2012-03-20 Thread Werner, Robert
5:54 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_snmp (External Command Error) Hi All I have the latest stable version of Nagios Core and Nagios Plugins installed in a CentOS 6.2 machine. While using the check_snmp in my object files I am getting the following error

Re: [Nagios-users] check_snmp (External Command Error)

2012-03-20 Thread Davey, Jatin Kumar (Jatin Kumar)
: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_snmp (External Command Error) Hi All I have the latest stable version of Nagios Core and Nagios Plugins installed in a CentOS 6.2 machine. While using the check_snmp in my object files I am getting the following error in the UI

[Nagios-users] check_snmp (External Command Error)

2012-03-20 Thread Davey, Jatin Kumar (Jatin Kumar)
Hi All I have the latest stable version of Nagios Core and Nagios Plugins installed in a CentOS 6.2 machine. While using the check_snmp in my object files I am getting the following error in the UI: External command error: snmp_build: unknown failuresnmpget: Error building ASN.1 representation

Re: [Nagios-users] check_snmp -s (and -r) not working

2012-03-16 Thread Fournier, Wim
Don't know if you've solved this already. For integer values, I use -c x:x The regexp and string (-s) matches expect a string and return OK if otherwise. -- Wim Fournier Senior Technical Appl. Administrator | comScore, Inc. (NASDAQ:SCOR) t +31 (0)20 5195476 | f +31 (0)20 6953786 | w.

[Nagios-users] check_snmp -s (and -r) not working

2012-02-20 Thread David Dyer-Bennet
Using check_snmp v1.4.15 (nagios-plugins 1.4.15) [ddb@prc-mn-lnx01 dev]$ /usr/lib64/nagios/plugins/check_snmp -H 192.168.1.254 -C XX -o 1.3.6.1.2.1.2.2.1.8.10125 -l ifOperStatus -s "loser" -v /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 192.168.1.254:161 1.3.6.1.2.1.2.2.1.8.10125 iso.3.6

[Nagios-users] check_snmp to monitor Cisco CPU utilization & Memory Used

2012-02-05 Thread Manish Kumar
Dear List, I am using check_snmp plugin to monitor Cisco routers and Cisco L3 switches. I want to monitor CPU Utilization percentage & Memory Used/Free (in MB/KB) for Router and switches. Can someone help me in finding the exact OID to monitor these KPIs. I am using Net-SNMP package as base. I am

Re: [Nagios-users] check_snmp OID integer /10

2012-02-03 Thread Jeffrey Watts
You can always write a script that acts as a wrapper around check_snmp if you want prettier info displayed. Jeffrey. 2012/2/1 Sánta József > Hi! > > ** ** > > I have a temperature SNMP device. > > ** ** > > snmpget 10.0.0.63 1.3.6.1.4.1.17095.4.1.3.3.0 -c public -v 1 > > iso.3.6.1.4

[Nagios-users] check_snmp OID integer /10

2012-02-02 Thread Sánta József
Hi! I have a temperature SNMP device. snmpget 10.0.0.63 1.3.6.1.4.1.17095.4.1.3.3.0 -c public -v 1 iso.3.6.1.4.1.17095.4.1.3.3.0 = INTEGER: 40 But I like /10 of the integer. Something like this: [oid("1.3.6.1.4.1.17095.4.1.3.3.0")/10]°C How to add this to the check_snmp com

[Nagios-users] check_snmp arguments

2011-08-24 Thread Nibin V M
Hello, Is there any option to pass argument via check_snmp plugin to the remote server? Basically I am trying to call a script on the remote server, which I want to accept an argument from the nagios server using check_snmp. Like this,,, check_snmp -H server -C commun -o extOutput.1 - I want to

Re: [Nagios-users] check_snmp output unit conversion

2011-07-15 Thread Mark Nipper
On 14 Jul 2011, Mark Nipper wrote: > $ check_snmp -H 172.16.74.130 -P 1 -C public -o > .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 20 -c 205000 > SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 To answer my own stupid question, the obvious form should look something like: ---

Re: [Nagios-users] check_snmp output unit conversion

2011-07-14 Thread Mark Nipper
On 31 Mar 2011, cas...@activenetwerx.com wrote: > Well, I'm using 1.4.15 from rpmforge on rhel and it works, what can I say:) I'm using the EPEL version of the same packages and it's not working in any way that I can divine. I ran across this post: --- http://permalink.gmane.org/gmane.net

Re: [Nagios-users] check_snmp help

2011-04-13 Thread Jason . Shaffer
This value is the number of IP's in a dhcp scope that are available for use. I want it to go to warning if there are less than 23 left and critical if there are less than 16 left. Putting the range in starting at zero gets the same result. ./check_snmp -C s8n1mp -H Corp208 -o .1.3.6.1.4.1.31

Re: [Nagios-users] check_snmp help

2011-04-12 Thread Michael Saldivar
On Tue, Apr 12, 2011 at 2:58 PM, wrote: > I am having problems with the checksnmp command, I am running some > check_snmp commands against our DHCP server. In this specific instance I > want a warning if the value is 17:23 and a critical if the value is 0:16, > regardless of how i type it in, I g

[Nagios-users] check_snmp help

2011-04-12 Thread Jason . Shaffer
I am having problems with the checksnmp command, I am running some check_snmp commands against our DHCP server. In this specific instance I want a warning if the value is 17:23 and a critical if the value is 0:16, regardless of how i type it in, I get a critical message. Any ideas? ./check_snmp

Re: [Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Joseph L. Casale
>check_snmp 1.4.15 Well, I'm using 1.4.15 from rpmforge on rhel and it works, what can I say:) -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides a

Re: [Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Cameron Camp
>>>./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >>'Runtime Remaining' -u 'Minutes' >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >>Remaining=132000 >> >>which is 22 minutes. >>What version of check_snmp? Mine is current and yields expected data. >>jlc >

Re: [Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Cameron Camp
>>./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >>'Runtime Remaining' -u 'Minutes' >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >>Remaining=132000 >> >>which is 22 minutes. >What version of check_snmp? Mine is current and yields expected data. >jlc pack

Re: [Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Joseph L. Casale
>./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >'Runtime Remaining' -u 'Minutes' > >on an APC UPS monitoring card, which outputs in seconds like: > >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >Remaining=132000 > >which is 22 minutes. If I divide the outpu

[Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Cameron Camp
I'm running a command like: ./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l 'Runtime Remaining' -u 'Minutes' on an APC UPS monitoring card, which outputs in seconds like: SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime Remaining=132000 which is 22 minutes. I

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Greg Pangrazio
*ok* ]] > then >        echo "Disk Online - OK"; >        exit 0 > fi > > # end script > > > > > -Original Message- > From: Tristan Drinkwater [mailto:trist...@micro-p.com] > Sent: 11 February 2011 11:34 > To: Nagios Users List > Subject: Re: [

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Tristan Drinkwater
e- From: Tristan Drinkwater [mailto:trist...@micro-p.com] Sent: 11 February 2011 11:34 To: Nagios Users List Subject: Re: [Nagios-users] Check_snmp -d & -s Interesting. How do I go about a wrap script then? I take it I call the script from the command_check line? Anything special about

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Tristan Drinkwater
:24 To: Nagios Users List Subject: Re: [Nagios-users] Check_snmp -d & -s you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. of course this script will use check_snmp in it. On Fri, Feb 11, 2011 at 7:08 PM, Tri

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Tristan Drinkwater
Hi, I have just tried that not but dice. :( -Original Message- From: Giles Coochey [mailto:gi...@coochey.net] Sent: 11 February 2011 11:25 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Check_snmp -d & -s On 11/02/2011 12:08, Tristan Drinkwater wrote: > > M

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Giles Coochey
On 11/02/2011 12:08, Tristan Drinkwater wrote: Morning all, I’m trying to refine a few snmp checks I do. My command looks like this; ./check_snmp –H xx.xx.xx.xx –o READyNAS-MIB::diskState.1 –C nas-drive –P 2c –v This produces the following; /usr/bin/snmpget –t 1 –r 5 –m ALL –v 2c [authpri

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Yueh-Hung Liu
you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. of course this script will use check_snmp in it. On Fri, Feb 11, 2011 at 7:08 PM, Tristan Drinkwater wrote: > Morning all, > > > > I’m trying to refine a few snmp checks

[Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Tristan Drinkwater
Morning all, I'm trying to refine a few snmp checks I do. My command looks like this; ./check_snmp -H xx.xx.xx.xx -o READyNAS-MIB::diskState.1 -C nas-drive -P 2c -v This produces the following; /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx READYNAS-MIB::diskState.1 READYNAS-

Re: [Nagios-users] check_snmp not

2011-02-10 Thread Joseph L. Casale
>Thanks for the replies. No problem... >I've managed to get it working by running 'yum install Nagios >Nagios-plugins-snmp' and then moving the file 'check_snmp' from /usr/lib to >/usr/local/Nagios/libexec Good to see your using the tools provided by the OS, truth is when you manually install

Re: [Nagios-users] check_snmp not

2011-02-10 Thread Joseph L. Casale
>I've installed Nagios 3.2.3 on fedora 14 but I'm struggling with getting the >check_snmp plugin working. It isn't in the libexec folder and there is NO >mention of it when I compile the plugins with ./configure, make and make >install. Compiling in a package based OS? Try this: `yum whatprovides

Re: [Nagios-users] check_snmp

2010-12-20 Thread Jones, Stuart
From: Jorge Arenas [mailto:jorge...@hotmail.com] Sent: Friday, 17 December 2010 10:16 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_snmp Hi: i just install nagios and I am following the basic guide in the site to monitor a switch i create the file and work

Re: [Nagios-users] check_snmp

2010-12-16 Thread James Pratt
you could try these instead of check_snmp , i always found check_snmp to be too limited... :\ http://nagios.manubulon.com From: Jorge Arenas [mailto:jorge...@hotmail.com] Sent: Thursday, December 16, 2010 9:16 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_snmp

[Nagios-users] check_snmp

2010-12-16 Thread Jorge Arenas
Hi: i just install nagios and I am following the basic guide in the site to monitor a switch i create the file and work well, but all switch ports are reported in OK status always i check the output ok the command: check_snmp -C public -H switch -r 1 etc and even when the por

[Nagios-users] check_snmp new feature

2010-09-02 Thread Ton Voon
Hi! Just want to let you know about a new blog article about the new feature in check_snmp where it measures rate changes in SNMP. http://bit.ly/cdNQlu It was developed for a customer of Opsview (http://opsview.com), but is now in Nagios Plugins for everyone to use. Enjoy! Thanks to Holger

[Nagios-users] check_snmp not working, but snmpget does

2010-08-05 Thread Adam Carter - Vantage IT
Hello, I am running nagios 2.9 on Ubuntu server. It has been functioning fine and we are starting to monitor more equipment. I am trying to get SNMP to work with the idea of monitoring a Cisco 501 through an ipsec tunnel. The VPN/networking side works fine, it is just Nagios I cannot get t

[Nagios-users] check_snmp v3 authentication

2010-07-30 Thread Etienne Ringuet
Hello, I am trying to use check_snmp to monitor different snmp states on our hardware. Our system uses snmp v3. If I use snmpget to access it, it works: ering...@test:/usr/lib/nagios/plugins$ snmpget -a MD5 -l authNoPriv -u USERNAME -A PASSWORD -v3 192.168.1.150 sysUpTime.0 DISMAN-EVE

[Nagios-users] check_snmp v3 authentication

2010-07-21 Thread Etienne Ringuet
Hello, I am trying to use check_snmp to monitor different snmp states on our hardware. Our system uses snmp v3. If I use snmpget to access it, it works: ering...@test:/usr/lib/nagios/plugins$ snmpget -a MD5 -l authNoPriv -u USERNAME -A PASSWORD -v3 192.168.1.150 sysUpTime.0 DISMAN-EVENT-MIB::s

Re: [Nagios-users] check_snmp Cisco 7304

2010-06-23 Thread Richard Gliebe
On 6/23/10 9:48 AM Ortner, Gerald wrote: > Hi, > Have a look at https://support.ipmonitor.com/mibs/CISCO-ENVMON-MIB/tree.aspx > For Cisco 3701 temperature: > SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.1 = STRING: "Thermal Sensor 1" > SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.2 = STRING: "Thermal Sensor 2"

Re: [Nagios-users] check_snmp Cisco 7304

2010-06-23 Thread Ortner, Gerald
ses.9.9.13.1.3.1.3.1 = Gauge32: 20 SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.2 = Gauge32: 23 Gerald -Ursprüngliche Nachricht- Von: Richard Gliebe [mailto:richard.gli...@fhv.at] Gesendet: Mittwoch, 23. Juni 2010 08:50 An: nagios-users Betreff: [Nagios-users] check_snmp Cisco 7304 Hi all, I'm ru

[Nagios-users] check_snmp Cisco 7304

2010-06-23 Thread Richard Gliebe
Hi all, I'm running some scripts, which are checking our Cisco Routers (PowerSupplies/Temperature/Fans) The standard Cisco Mibs for the 6500er Cisco series works fine, but not for the 7300 cisco series. What I need, are the mibs for temperature, Chassis Fans, and the mibs for the Powersupplies

[Nagios-users] check_snmp-load.pl

2010-04-26 Thread Ihab Samara
Hi I have a problem with "check_snmp_load.pl", it is always returning 100.0% CRITICAL for a linux host, which is a false positive ofcourse. The check I am using: check_snmp_load.pl -H ipadd -C public -T netsc -w 80% -c 90% I tried all the -T options, but didn't work. This check used to work

Re: [Nagios-users] check_snmp Not Compiling

2010-04-22 Thread Marcel
*To:* Nagios Users List > *Subject:* Re: [Nagios-users] check_snmp Not Compiling > > > > make sure you have: > > yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP > > > On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe > wrote: > > Hi all! I am trying

Re: [Nagios-users] check_snmp Not Compiling

2010-04-22 Thread Robert Wolfe
Thanks! Was missing all of these. Ran this command and everything is set now! Thanks again! From: Marcel [mailto:mits...@gmail.com] Sent: Thursday, April 22, 2010 2:15 PM To: Nagios Users List Subject: Re: [Nagios-users] check_snmp Not Compiling make sure you have: yum install net-snmp net

Re: [Nagios-users] check_snmp Not Compiling

2010-04-22 Thread Marcel
make sure you have: yum install net-snmp net-snmp-devel net-snmp-libs perl-SNMP On Thu, Apr 22, 2010 at 2:30 PM, Robert Wolfe wrote: > Hi all! I am trying to get the check_snmp code to compile, but for some > reason it does not want to compile when I go to build the modules from the > Nagios

Re: [Nagios-users] check_snmp Not Compiling

2010-04-22 Thread Joseph L. Casale
>Hi all! I am trying to get the check_snmp code to compile So why not use the rpm from rpmforge which you can enable for yum and make life easy:) -- ___ Nagios-users mailing li

Re: [Nagios-users] check_snmp checks are broken post update to nagios-plugins-snmp-1.4.14-1.el5 from nagios-plugins-snmp-1.4.13-11.el5

2010-04-22 Thread Wade Peacock
On 04/22/2010 10:23 AM, Joseph L. Casale wrote: >> /usr/lib/nagios/plugins/check_snmp -H bw1.in.sunwave.net -C public1 -o >> transmission.127.1.1.4.1.5.121 -w 17:18 -v >> SNMP WARNING - *29* | DOCS-IF-MIB::docsIfSigQSignalNoise.121=29 > > So it's working, it's out of the range you specified. > ht

[Nagios-users] check_snmp Not Compiling

2010-04-22 Thread Robert Wolfe
Hi all! I am trying to get the check_snmp code to compile, but for some reason it does not want to compile when I go to build the modules from the Nagios-plugins tarball. Running CentOS 5.4 64 bit, latest Nagios release. . . . . . . . . *** Message Virus Free. Email scanned by I-FILTER *** Co

Re: [Nagios-users] check_snmp checks are broken post update to nagios-plugins-snmp-1.4.14-1.el5 from nagios-plugins-snmp-1.4.13-11.el5

2010-04-22 Thread Joseph L. Casale
>/usr/lib/nagios/plugins/check_snmp -H bw1.in.sunwave.net -C public1 -o >transmission.127.1.1.4.1.5.121 -w 17:18 -v >SNMP WARNING - *29* | DOCS-IF-MIB::docsIfSigQSignalNoise.121=29 So it's working, it's out of the range you specified. http://nagiosplug.sourceforge.net/developer-guidelines.html#T

[Nagios-users] check_snmp checks are broken post update to nagios-plugins-snmp-1.4.14-1.el5 from nagios-plugins-snmp-1.4.13-11.el5

2010-04-22 Thread Wade Peacock
After updating our nagios-plugins via yum yesterday we have an issue with our service checks that rely on check_snmp Here is are some samples: 1) ./check_snmp ups-shop -C public1 -o mib-2.33.1.2.4.0 -w 51:75 -c 25:50 -v /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] ups-shop:161 mib-2.33.1

Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-30 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/03/10 07:23 AM, Michael Schwartzkopff wrote: > Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: >> Hi >> >> I use the HOST-RESOURCES-MIB to get the status of the system and its >> various parameters. There is one such MIB parameter that pro

Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-30 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/03/10 07:26 AM, Jatin Davey wrote: > Then it should be a bug right ? Please let me know if i can file it. > > Thanks > Jatin No need to open a bug. This was broken by this bug #1867716 (be144b67/tr...@2021) so I will reopen it, Feel free to go

Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-29 Thread Michael Schwartzkopff
Am Montag, 29. März 2010 15:01:50 schrieb Jatin Davey: > Well , when i use the complete OID path i get the performance data , Say > instead of using > > hrSWRunPerfMem if use 1.3.6.1.2.1.25.5.1.1.2 > > Then it works fine and the performance data is collected for the specific > process of interest.

Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-29 Thread Jatin Davey
Well , when i use the complete OID path i get the performance data , Say instead of using hrSWRunPerfMem if use 1.3.6.1.2.1.25.5.1.1.2 Then it works fine and the performance data is collected for the specific process of interest. I dont know why it does not do so if the OID name is not resolve

Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-29 Thread Jatin Davey
Ok , here go the version of the plugin used taken from the help page of the plugin: [r...@pc-fedora-1 libexec]# ./check_snmp --help check_snmp v1.4.14 (nagios-plugins 1.4.14) Copyright (c) 1999-2007 Nagios Plugin Development Team Check status of remote machines and obtain system information via

Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-29 Thread Jatin Davey
Then it should be a bug right ? Please let me know if i can file it. Thanks Jatin On 3/29/2010 4:49 PM, Michael Schwartzkopff wrote: > Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: > >> Hi >> >> I use the HOST-RESOURCES-MIB to get the status of the system and its >> various parameter

Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-29 Thread Michael Schwartzkopff
Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: > Hi > > I use the HOST-RESOURCES-MIB to get the status of the system and its > various parameters. There is one such MIB parameter that provides memory > used by a specific process on a linux box. It is : "hrSWRunPerfMem" , > When i execute th

Re: [Nagios-users] check_snmp does not provide performance data ??

2010-03-29 Thread Michael Schwartzkopff
Am Montag, 29. März 2010 13:17:35 schrieb Jatin Davey: > Hi > > I use the HOST-RESOURCES-MIB to get the status of the system and its > various parameters. There is one such MIB parameter that provides memory > used by a specific process on a linux box. It is : "hrSWRunPerfMem" , > When i execute th

[Nagios-users] check_snmp does not provide performance data ??

2010-03-29 Thread Jatin Davey
Hi I use the HOST-RESOURCES-MIB to get the status of the system and its various parameters. There is one such MIB parameter that provides memory used by a specific process on a linux box. It is : "hrSWRunPerfMem" , When i execute this command using the check_snmp plugin it does not provide any

Re: [Nagios-users] check_snmp and quoted oid's

2010-03-23 Thread Joseph L. Casale
>In my Nagios command definitions I always escape quote anything like this. IE, > >check_snmp \'OID"b"\' Strange, I am using nagios-plugins-1.4.13-1.el5.rf and this syntax causes nagios 3.2.0 to still error out? -- Down

Re: [Nagios-users] check_snmp and quoted oid's

2010-03-23 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/03/10 07:03 PM, Gius, Mark wrote: > In my Nagios command definitions I always escape quote anything like this. > IE, > > check_snmp \'OID"b"\' OIDs are always numeric; this notation is actually being interpreted into numbers by net-snmp. To

Re: [Nagios-users] check_snmp and quoted oid's

2010-03-23 Thread Gius, Mark
sers@lists.sourceforge.net' > Subject: [Nagios-users] check_snmp and quoted oid's > > Seems this is an old issue fixed in some distros and shod full of > creative quoting suggestions but I can't get it to work. > > Anyone know how to pass an oid such as: > REDHAT-

[Nagios-users] check_snmp and quoted oid's

2010-03-23 Thread Joseph L. Casale
Seems this is an old issue fixed in some distros and shod full of creative quoting suggestions but I can't get it to work. Anyone know how to pass an oid such as: REDHAT-CLUSTER-MIB::rhcServiceRunningOnNode."service" to the check_snmp plugin? Thanks! jlc -

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Jatin Davey
Hi Ambati I followed this link: http://svn.openvpn.net/projects/openvpn/misc/mibagent/README.txt and it solved all my issues , Things went smoothly after following the installation instructions as mentioned. Make sure you have access to the fedora repositories to download the pacakages. Tha

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
Hi, > > Please elaborate on 'add --with-snmp to your plugins compile' as I am new > to monitoring. so missing net-snmp-devel packages was the prob? > > Very much appreciate. > Thanks, > > AM > > > > > > On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell wrote: > >> yum install net-snmp-deve

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
Hi, Please elaborate on 'add --with-snmp to your plugins compile'. so missing net-snmp-devel packages was the prob? Thanks, AM On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell wrote: > yum install net-snmp-devel > > add --with-snmp to your plugins compile > > On Tue, 9 Mar 2010 01:26:37 +05

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Kyle O'Donnell
yum install net-snmp-devel add --with-snmp to your plugins compile On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas wrote: > Hi, > > I never expected this speed reply :-) Thanks much. > > Yep Installed net-snmp-5.4.2.1-19.fc12.i686 and > net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core ho

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
I have installed net-snmp-5.4.2.1-19.fc12.i686 and net-snmp-utils-5.4.2.1-19.fc12.i686 and restarted snmpd deamon and the deamon is running on nagios core however I have not yet enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg does that effect??? vi /usr/local/nagios/etc/nagios.

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
Hi, I never expected this speed reply :-) Thanks much. Yep Installed net-snmp-5.4.2.1-19.fc12.i686 and net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not yet enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg does that effect??? vi /usr/local/nagios/etc/nagios.

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Gary Every
if you don't have net-snmp/snmpd installed on your system, it will not compile the plugins - make sure that you have the commands, such as snmpwalk, etc installed and re-compile g.; On Mon, Mar 8, 2010 at 12:35 PM, Ambati Srinivas wrote: > Hi, > > I very recently installed nagios Nagios-3.2.0

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Kyle O'Donnell
What were you configure options? Do you have net-snmp(dev libs too) installed? On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas wrote: > Hi, > > I very recently installed nagios Nagios-3.2.0 and Nagios-plugins-1.4.14on > fedora 12. All went however I am not able to execute nor see check_sn

[Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
Hi, I very recently installed nagios Nagios-3.2.0 and Nagios-plugins-1.4.14on fedora 12. All went however I am not able to execute nor see check_snmp under /usr/local/nagios/libexec/ For your reference: [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/ [r...@nagios01 libexec]# ls check_apt

Re: [Nagios-users] check_snmp disk space monitoring

2010-02-17 Thread Jim Avery
On 17 February 2010 19:45, David Dyer-Bennet wrote: > > I'm playing with using check_snmp to look at disk space, with commands > (working from the command line so far) like: > > /usr/lib/nagios/plugins/check_snmp -C public -P 2c -H localhost -o > dskErrorMsg.2 -r '^\s*$' > > ([[:space:]] doesn't w

[Nagios-users] check_snmp disk space monitoring

2010-02-17 Thread David Dyer-Bennet
I'm playing with using check_snmp to look at disk space, with commands (working from the command line so far) like: /usr/lib/nagios/plugins/check_snmp -C public -P 2c -H localhost -o dskErrorMsg.2 -r '^\s*$' ([[:space:]] doesn't work any better than \s either) I'm trying to monitor the error me

Re: [Nagios-users] check_snmp with regular expression

2009-12-10 Thread Martin Melin
It looks like you're trying to match "some string", no matter where it appears in the document. In that case, anchoring to line beginning and end is just extra work. Simply match on "some string", and you're good to go. The asterisk is a modifier to the dot, so it needs to come after that. So the

Re: [Nagios-users] check_snmp with regular expression

2009-12-10 Thread Greg Pangrazio
did you mean "^*.some string.*$" notice the period before the second * Greg Pangrazio pangr...@gmail.com On Thu, Dec 10, 2009 at 9:18 AM, shadih rahman wrote: > List, >    I am trying to use check_snmp plugin with the following regular > expression and I am getting an error, can someone poi

[Nagios-users] check_snmp with regular expression

2009-12-10 Thread shadih rahman
List, I am trying to use check_snmp plugin with the following regular expression and I am getting an error, can someone point out what am I doing wrong. Thanks /usr/lib64/nagios/plugins/check_snmp -H hostname -C community -o .1.3.6.1.2.1.1.6.0 -r "^*.some string*$" Could Not Compile Regular

Re: [Nagios-users] check_snmp problem

2009-11-23 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/11/09 07:10 PM, Brandon Williams wrote: > Hey Guys I am trying to monitor a switch by using snmp. When I run the > check_snmp I get this result > > > > > > ./check_snmp -H x.x.x.x -C c...@m -P 2c -o > .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 >

[Nagios-users] check_snmp problem

2009-11-23 Thread Brandon Williams
Hey Guys I am trying to monitor a switch by using snmp. When I run the check_snmp I get this result ./check_snmp -H x.x.x.x -C c...@m -P 2c -o .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 2c [authpriv] 10.7.128.77:161 .

Re: [Nagios-users] check_snmp query for bgp

2009-09-17 Thread Assaf Flatto
On Thursday 17 September 2009 14:59:31 Emily wrote: > Hello, does anyone know how I can do an snmp_check (ie what is the OID/MIB) > to use for seeing if bgp has flapped? I currently do an icmp poll on the ip > address of the port on the router, but the outage was so brief as to not > register in

[Nagios-users] check_snmp query for bgp

2009-09-17 Thread Emily
Hello, does anyone know how I can do an snmp_check (ie what is the OID/MIB) to use for seeing if bgp has flapped? I currently do an icmp poll on the ip address of the port on the router, but the outage was so brief as to not register in nagios, I am looking for a way to monitor the time-stamp on th

Re: [Nagios-users] check_snmp

2009-07-14 Thread Marc Powell
You received an answer earlier today that you seem to have ignored... I'll try -- On Jul 14, 2009, at 3:45 PM, SYS ADMIN wrote: > It seems that for some reason my new install of nagios 3.0.6 into > Debian > lenny has failed to install check_snmp into the > /usr/local/nagios/etc/libexec folder

Re: [Nagios-users] check_snmp

2009-07-14 Thread Natxo Asenjo
hi, http://nagiosplugins.org/man/check_snmp This plugin uses the 'snmpget' command included with the NET-SNMP package. if you don't have the package installed, you will need to download it from http://net-snmp.sourceforge.net before you can use this plugin. The Net-SNMP package is in debian

[Nagios-users] check_snmp

2009-07-14 Thread SYS ADMIN
It seems that for some reason my new install of nagios 3.0.6 into Debian lenny has failed to install check_snmp into the /usr/local/nagios/etc/libexec folder. It has a multitude of other check_snmp_, which I am sure are all based on it, but IT is not there, and several of my plugins call for check_

Re: [Nagios-users] check_snmp - warning numbers

2009-05-11 Thread Matias Blanco
... -Mensaje original- De: Jones, Stuart [mailto:stuart.jo...@health.wa.gov.au] Enviado el: Domingo, 10 de Mayo de 2009 20:55 Para: Matias Blanco Asunto: RE: [Nagios-users] check_snmp - warning numbers When you do a netstat -an on the PC in question do you see something similar to: 0.0.0.0:161

Re: [Nagios-users] check_snmp - warning numbers

2009-05-08 Thread frank
; Date: Fri, 8 May 2009 13:02:28 -0300 > From: Matias Blanco > To: 'Alejandro S?nchez Mero?o' , > Nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp - warning numbers > > Hello, > > When i made an snmpwalk to a ip computer there

Re: [Nagios-users] check_snmp - warning numbers

2009-05-08 Thread Matias Blanco
Para: 'Alejandro Sánchez Meroño'; Nagios-users@lists.sourceforge.net Asunto: Re: [Nagios-users] check_snmp - warning numbers Hello, How can i do an snmpwalk on my switch? Thanks, Cristian... -Mensaje original- De: Alejandro Sánchez Meroño [mailto:alejandro.sanc...@ite.es]

Re: [Nagios-users] check_snmp - warning numbers

2009-05-07 Thread Matias Blanco
chez Meroño; Nagios-users@lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea más clara de lo que está sucediendo? Porque esos paquetes entrantes

Re: [Nagios-users] check_snmp - warning numbers

2009-05-07 Thread Alejandro Sánchez Meroño
chez Meroño; Nagios-users@lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea más clara de lo que está sucediendo? Porque esos paquetes entrantes con error

Re: [Nagios-users] check_snmp - warning numbers

2009-05-06 Thread Matias Blanco
icaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -Mensaje original- De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: miércoles, 06 de mayo de 2009 17:49 Para: Nagios-users@lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers H

Re: [Nagios-users] check_snmp - warning numbers

2009-05-06 Thread Alejandro Sánchez Meroño
- http://www.ite.es Valencia - Spain -Mensaje original- De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: miércoles, 06 de mayo de 2009 17:49 Para: Nagios-users@lists.sourceforge.net Asunto: [Nagios-users] check_snmp - warning numbers Hi, I am using the check_snmp nagio

Re: [Nagios-users] check_snmp - warning numbers

2009-05-06 Thread Marc Powell
Comments below -- On May 6, 2009, at 10:49 AM, Matias Blanco wrote: > Hi, I am using the check_snmp nagios`s plugin. And when we check the > ports status of a 3com Baseline 2250 Plus, we recibe many ports > results: > > SNMP OK – 0 > SNMP WARNING - *1* > SNMP WARNING - *84* > SNMP WARNING - *2*

[Nagios-users] check_snmp - warning numbers

2009-05-06 Thread Matias Blanco
Hi, I am using the check_snmp nagios`s plugin. And when we check the ports status of a 3com Baseline 2250 Plus, we recibe many ports results: SNMP OK – 0 SNMP WARNING - *1* SNMP WARNING - *84* SNMP WARNING - *2* SNMP WARNING - *2* SNMP WARNING - *4* The question is, what´s the meaning of the warn

Re: [Nagios-users] check_snmp output

2009-04-22 Thread Marc Powell
Please always respond on list -- On Apr 22, 2009, at 10:18 AM, shadih rahman wrote: > Marc, > Can you please give me some direction for the wrapper script. > Do you mean to capture the output and then do some type search and > replace on the string? Yes, exactly. You'll also need to ca

  1   2   3   >