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

Return Code Of 13 Is Out Of Bounds Centreon

Quote Report Content Go to Page Top Floh Student Posts 137 Occupation IT-Administrator (VMWare VI 3, Citrix, Backup, Interface-Entwicklung) Number of hosts 326 Number of services 1001 Steigend Operating Systems SLES Announcement Collapse No announcement yet. Website Copyright © 2009-2016 Nagios Enterprises, LLC. The service commands, I changed from basic-service to generic-service, as I couldn't find a basic-service template anywhere. have a peek here

The only option is to modify the code to check the 64bit counters if they are available for your device. There may be other causes but these are the two that come to mind. A 100Mb
# interface would take over 5 minutes to overflow the counter.
#
##################################
use strict;
use Net::SNMP;
use Getopt::Long;
&Getopt::Long::config('bundling');
use This release changes the units for the in_ave/out_ave perfdata from bits (if you specify bits on the command line) to Bytes and changes inAbsolut/outAbsolut from Bytes to Continuous.

This is the result of my re-write of check_iftraffic.pl found on NagiosExchange. "check_snmp_ifstatus.pl" will take a host IP address and interface name and return the current status of the interface. It's good, but...bymeilon, October 21, 2012 It's good, but the SNMPv3 support should be added soonOwner's replyI agree that SNMPv3 should be added to make the check more complete. Optional.

RX=$RXunits ($RXpct%), TX=$TXunits ($TXpct%)" . $perfdata); exit $STATUS_CODE{‘OK'}; } exit $STATUS_CODE{‘UNKNOWN'}; ################################## # # Subroutines # ################################## sub print_usage { print # will cause a counter overflow in 34 seconds. Stay tuned. Forgot your password?

For information on Nagios, visit http://www.nagios.org Why Another HTTP Plugin for Nagios? The Perl script is VERY basic. I'm quite surprised at the number of people that are using it. 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

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 Quote Report Content Go to Page Top Floh Student Posts 137 Occupation IT-Administrator (VMWare VI 3, Citrix, Backup, Interface-Entwicklung) Number of hosts 326 Number of services 1001 Steigend Operating Systems SLES Then you have to modify the config.xml and add this line in it to enable the Nagios plugin mode: nagios Note: you may also create an alternate config file that you Tom konnte ja eh wie immer helfen!

It's because the tmp plugin path has changed since. Optional. Nagios Configuration You must first define a new command in the Nagios checkcommands.cfg file (assuming you have installed WebInject in /usr/local/webinject): define command { command_name webinject command_line /usr/local/webinject/webinject.pl -c $ARG1$ $ARG2$ Log in to Reply Pavel says: 6 March 2009 at 03:44 Hi, Shawn!

In fact, we officially disclaim all liability. navigate here Thank you and cheers. Thanks Nicholas Coulin for pointing it out. Version .74: Thanks to the help of Rogerio Tomassoni de Araujo Junior we now have SNMPv3 support!

Quote Report Content Go to Page Top Floh Student Posts 137 Occupation IT-Administrator (VMWare VI 3, Citrix, Backup, Interface-Entwicklung) Number of hosts 326 Number of services 1001 Steigend Operating Systems SLES Return code of 13 for check of service 'Disk-/' on host 'Centreon-Server' Collapse X Collapse Posts Latest Activity Search Page of 1 Filter Time All Time Today Last Week Last Month Informations from MIB: MIB IF-MIB Name ifHCInOctets iso.org.dod.internet.mgmt.mib-2.ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets OID 1.3.6.1.2.1.31.1.1.1.6 Type Counter64 Units Access read-only Status unknown The total number of octets received on the interface , including framing characters. http://jscience.net/return-code/return-code-12-reason-code-49.html Good for Internet connections that have different up and down speeds 4.

it was the "or die" statements that were causing the return code 13. 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 Log in to Reply Rick Payton says: 4 December 2008 at 21:55 I just relooked at it, and indeed it was the $USER1$/contrib path that tripped me up.

Once you have the oids of the 64bit counters on your device, it should be fairly simple to rewrite the plugin to make use of them.

Home contact Home > it > Nagios: Return code of 13 is out of bounds Nagios: Return code of 13 is out of bounds March 11th, 2009 juergens Leave a comment Basically, the Perl script compiles and executes from the console just fine. gibt mir einen kurzen denkanstoß. See the ALERT section of the check description for an explanation of the issue.

Not the answer you're looking for? For example you would do some thing like: '-b 100 -u m' for an interface speed of 100mb. examples: # Simple 64 bit check of interface used as the primary host interface (based on IP address of host1) check_iftraffic64.pl -H host1 -C sneaky # 32 bit mode check of this contact form You can follow any responses to this entry through the RSS 2.0 feed.

WARNING If you declare a 'globaltimeout' in your config file, this value given in seconds will be compared to the global time elapsed to run all the tests. Added logic to handle invalid interface speed results (thanks Mathieu GRZYBEK). If you would like to use all features of this site, it is mandatory to enable JavaScript. logout 5.

Quote Report Content Go to Page Top gore-tex Professional Posts 1,117 Occupation Systemadmin Number of hosts ~3500 Number of services ~20000 Operating Systems CentOS 2 Aug 31st 2006, 8:44am Hallo Floh!

© 2017 jscience.net