Home > Return Code > Return Code Of 13 Is Out Of Bounds Centreon

Return Code Of 13 Is Out Of Bounds Centreon

This status is returned as both an OK/Warning/Critical description and performance data usable with rrdtool. FYI, there's a typo in the PHP code, should be a 5 and not 51 on this line: $def[3] .= “GPRINT:var1:AVERAGE:\”%6.2lf $UNIT[51] avg \\n\” ” ; Log in to Reply Shawn Log in to Reply Jesus Ballesteros says: 8 February 2012 at 13:55 Hello. Log in to Reply Shawn Flynn says: 29 June 2010 at 13:59 I'm glad you are finding the script useful. Check This Out

All other servicemarks and trademarks are the property of their respective owner. A 100Mb
# interface would take over 5 minutes to overflow the counter.
use strict;
use Net::SNMP;
use Getopt::Long;
use In cases where the 64 bit SNMP query doesn't always respond (but does sometimes) you will get mixed results (64 bit results last check 32 bit next time) and your output I have installed a central server following http://en.doc.centreon.com/Setup with nagios-3.5.1 , nagios-plugins-1.5, ndoutils-1.5.2 , centreon-2.4.5 on Centos 6.

So I tried to put the nagios in debug mode and here is what the nagios logs looks like, $ tail -f /usr/local/nagios/var/nagios.log[1385644228] Warning: Return code of 13 for check of Just one small bug. I'm also fairly new to Perl.

Log in to Reply Marco says: 26 May 2009 at 09:34 Is there an other way to prevent this message ? Nagios is an open source host, service, and network monitoring program. und trotz chmod 4711 hatte auch das plugin falsche rechte thx an alle beteiligten, ich sollte vielleicht doch mal wieder mehr mit linux arbeiten Quote Report Content Go to Page Top Yes, my password is: Password Remain logged in Lost Password Search subject only Display results as threads More Options Dashboard Forum Undone Threads Members Icinga PNP Icinga Exchange Monitoring Plugins NagVis

This will give you the types of results you are seeing, though I imaging (and hope) that this is a rare situation. 2. No trackbacks yet. Check it out here… http://shawnflynn.com/2010/07/01/nagios-plugin-check_snmp_ifstatuspl-redux/ Log in to Reply Joe Gzesh says: 23 January 2011 at 10:58 Shawn, I took your wonderful perl script check_snmp_ifstatus and modified it to do some Overall Goodbyabeckman702, April 27, 2015 1 of 1 people found this review helpful Overall this works quite well.

sudo su - 2. Many thanks in advance and have a Merry Christmas. centos monitoring nagios nms troubleshooting 2014-11-06 Muhammad Attique Nilesh Sharma Good one, thanks Recent Posts Installing & Configuring WingIDE on Kali Linux (64-bit) How to Install & Configure Google Chrome on This has been fixed based on the switches used to either bits or bytes.

Now, if your database server is down but not the MyApplication server, you should receive a critical alert in Nagios with the message: WebInject CRITICAL: Unable to do a sample request more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Implementing realloc in C more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts If not it returns a critical code and says host is down rather then null or unknown status. 3.

Using Nagios 3.0.5, I'm unable to make this work. his comment is here UnitbyGeoHolz, October 12, 2015 Hello, Can you add the possibility to have the output with only one unit ? I also cleaned up the handeling of the 64 bit code. thanx Log in to Reply zimo says: 21 July 2009 at 07:46 Hi Shawn, thank you for the script, it's work perfectly.

Optional. Please let me know if you use it, and if you find any problems with it. I'll do a bit of cleanup on the code, then make a new posting within the week. this contact form Quote Report Content Go to Page Top Tom Master Likes Received 1 Posts 2,438 Occupation Inschenör Number of hosts 2600 Number of services 14000 Operating Systems Fedora/Centos 5 Aug 31st 2006,

I have the plugin output to Nagios however I would like to graph this. Privacy Policy Trademarks Terms of Use Login or register Username or Email Address Are you already registered? If you use pnp4nagios to graph your nagios performance data, then the following template may be of use to you.

Thanks you very much again and I'm sorry for my English :).

I'm not sure why they don't work. Any thoughts? RX=136.3Gbps (13625.49%), TX=128.4Gbps (12843.96%) |RXbps=136254930734;850000000;980000000;0;1000000000 TXbps=128439642483;850000000;980000000;0;1000000000 RXpct=13625.49%;85;98;0;100 TXpct=12843.96%;85;98;0;100 elapsed= Whats wrong? Defaults to $warn_pct% -c -critical INTEGER % of bandwidth usage necessary to result in critical status.

Examples would be eth0 or FastEthernet0/1 -C -community STRING SNMP Community string. Musings and Madness is proudly powered by WordPress Entries (RSS) and Comments (RSS). |Home |Download |Manual |Screenshots |FAQ |Recording |Development |Build |MRTGPlugin |NagiosPlugin |WebServices| Monitoring Web Applications/Services With Nagios and WebInject This is my first attempt at a Nagios plugin so go easy on me. navigate here Log in to Reply Shawn Flynn says: 27 January 2009 at 11:17 Mike: No.

Feel free to add it to your plugin. I just have to add something. Continuing with our example, this can be done by launching: webinject.pl -c myconfig.xml MyApplication.xml or a simple: webinject.pl -c config-proxy.xml because the test case file name MyApplication.xml is already specified in I added 2 new features: ignore interface status and use absolute thresholds.

I have installed pnp4nagios and the php template but I am not sure of the entries to be entered into Nagios to gather this data and display. How can I slow down rsync? Nagios is based on a central server that runs external commands or plugins to test distributed hosts and services. Log in to Reply Jens Mickerts says: 23 December 2008 at 20:17 Hi Shawn, first of all, thank you very much for this very nice plugin.

linux nagios share|improve this question edited May 20 at 17:32 asked May 11 at 19:48 Giperboloid 2019 1 Please don't add screenshots of text, but place the actual text (indented As for your question of news… you'll be happy to know that I did indeed rewrite the script to clean up a few bugs and add the ability to pass an We do, however, think these community contributions are pretty damn cool. Thanks again! -----Original Message----- From: nagiosplug-devel-admin at lists.sourceforge.net [mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Jed Obray Sent: Wednesday, December 07, 2005 11:29 AM To: nagiosplug-devel at lists.sourceforge.net Subject: [Nagiosplug-devel] Custom plugin

use POSIX; use strict; use Getopt::Long; use vars qw($logpath $logfile $warning $critical $line $pathread $filecount $msg $state); use lib "/usr/local/nagios/libexec"; use utils qw(%ERRORS); my(@raw_log) = {}; $ENV{'PATH'} = ''; $ENV{'BASH_ENV'} = To obtain more debugging information on standard output, you could change the 'reporttype' config setting to: standard and of course have a look at the http.log file. Defaults to 1
-p --port INTEGER
SNMP port.