Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nagios::plugin::threshold(3pm) [debian man page]

Nagios::Plugin::Threshold(3pm)				User Contributed Perl Documentation			    Nagios::Plugin::Threshold(3pm)

NAME
Nagios::Plugin::Threshold - class for handling Nagios::Plugin thresholds. SYNOPSIS
# NB: This is an internal Nagios::Plugin class. # See Nagios::Plugin itself for public interfaces. # Constructor $t = Nagios::Plugin::Threshold->set_thresholds( warning => $warning_range_string, critical => $critical_range_string, ); # Value checking - returns CRITICAL if in the critical range, # WARNING if in the warning range, and OK otherwise $status = $t->get_status($value); # Accessors - return the associated N::P::Range object $warning_range = $t->warning; $critical_range = $t->critical; DESCRIPTION
Internal Nagios::Plugin class for handling threshold data. See Nagios::Plugin for public interfaces. A threshold object contains (typically) a pair of ranges, associated with a particular severity e.g. warning => range1 critical => range2 AUTHOR
This code is maintained by the Nagios Plugin Development Team: see http://nagiosplug.sourceforge.net. COPYRIGHT AND LICENSE
Copyright (C) 2006-2007 Nagios Plugin Development Team This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-12-22 Nagios::Plugin::Threshold(3pm)

Check Out this Related Man Page

Nagios::Plugin::Config(3pm)				User Contributed Perl Documentation			       Nagios::Plugin::Config(3pm)

NAME
Nagios::Plugin::Config - read nagios plugin .ini style config files SYNOPSIS
# Read given nagios plugin config file $Config = Nagios::Plugin::Config->read( '/etc/nagios/plugins.ini' ); # Search for and read default nagios plugin config file $Config = Nagios::Plugin::Config->read(); # Access sections and properties (returns scalars or arrayrefs) $rootproperty = $Config->{_}->{rootproperty}; $one = $Config->{section}->{one}; $Foo = $Config->{section}->{Foo}; DESCRIPTION
Nagios::Plugin::Config is a subclass of the excellent Config::Tiny, with the following changes: o Repeated keys are allowed within sections, returning lists instead of scalars o Write functionality has been removed i.e. access is read only o Nagios::Plugin::Config searches for a default nagios plugins file if no explicit filename is given to "read()". The current standard locations checked are: /etc/nagios/plugins.ini /usr/local/nagios/etc/plugins.ini /usr/local/etc/nagios /etc/opt/nagios/plugins.ini /etc/nagios-plugins.ini /usr/local/etc/nagios-plugins.ini /etc/opt/nagios-plugins.ini To use a custom location, set a "NAGIOS_CONFIG_PATH" environment variable to the set of directories that should be checked. The first "plugins.ini" or "nagios-plugins.ini" file found will be used. SEE ALSO
Config::Tiny, Nagios::Plugin AUTHORS
This code is maintained by the Nagios Plugin Development Team: <http://nagiosplug.sourceforge.net>. COPYRIGHT and LICENCE Copyright (C) 2006-2007 by Nagios Plugin Development Team This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-12-03 Nagios::Plugin::Config(3pm)
Man Page

12 More Discussions You Might Find Interesting

1. Solaris

[ID 882636 kern.warning] WARNING: interrupt level 11 not serviced

Can anybody tell what this kernel warning is, it's critical (9 Replies)
Discussion started by: voxure
9 Replies

2. Linux

Nagios CGI's not displaying

Hello, I have installed Nagios 2.0b3 and running on Enterprise Linux ES4. I can view the Nagios home page and view the documentation but cannot get into any of the CGI pages. I am getting two different error messages. The first error message is that of Forbidden access. This is simply telling... (7 Replies)
Discussion started by: tekhed
7 Replies

3. Infrastructure Monitoring

Cutting edge IT software - what's out there and what do you use

I am sys admin for many servers running unix (solaris, HP, Linux) and also some windows server and solaris x86 I want to know what leading software is out there whether it be freeware, shareware or commercial that can do things listed: Performance monitoring (hardware/software, disk usage,... (7 Replies)
Discussion started by: frustrated1
7 Replies

4. Red Hat

Nagios 3.2.2 on RHEL 5

(7 Replies)
Discussion started by: smcracraft
7 Replies

5. Infrastructure Monitoring

Nagios Forum

What are the chances of getting a Nagios forum? The community is really lacking for a good place to work issues in Nagios. There just aren't any good places to go that I've found. Thanks, Docster (27 Replies)
Discussion started by: Docster
27 Replies

6. Post Here to Contact Site Administrators and Moderators

Nagios Forum

(27 Replies)
Discussion started by: Docster
27 Replies

7. Red Hat

Can I install Nagios on Linux ?

Can I install Nagios on Linux ? I want to monotor some Windows and Linux systems through Nagios, So Can I Install Nagios on LINUX? Or should I install it on SuseLinux? I wan to learn more about Nagios , Please guide me properly. (6 Replies)
Discussion started by: manalisharmabe
6 Replies

8. Linux

Nagios Installation in CentOS is having "Error #2 "

Hello All, I was trying to install Nagios on CentOS 6.2 by following the below link and having few errors at the "Install Nagios" section in the website, could you please let me know how to get rid of it and successfully install. Install Nagios in CentOS CENTREON 6 | Linux Tutorial I have... (12 Replies)
Discussion started by: lovesaikrishna
12 Replies

9. UNIX for Advanced & Expert Users

Threshold for open connections

Hey guys, We've been having issues on one of our CentOS 6 servers and one of the java programs that runs on it. As the software hasn't caused issues in the past, I'm wondering if its a problem with the CentOS server. Basically, the software drops it's tcp connection and won't reconnect,... (5 Replies)
Discussion started by: jimbob01
5 Replies

10. Shell Programming and Scripting

[SOLVED] Using "$!" to get the PID of the Last Ran Background Process

Hello All, I was looking into creating a script that would be used only to start a Daemon and create a lock file... F.Y.I. It's for Nagios' NRPE Daemon Plugin... Anyway when I run the command to start the Daemon (below): /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d And... (14 Replies)
Discussion started by: mrm5102
14 Replies

11. Infrastructure Monitoring

Cut down notifications from Nagios

Hello, I am currently monitoring about 40 hosts using NsClient. Each host has between 5-8 services running on each of them. I was trying to find a way to get less notifications because I'm currently getting about 200 a week. Is there anyway for if one service goes down on a host to make nagios... (5 Replies)
Discussion started by: Jethro
5 Replies

12. UNIX for Dummies Questions & Answers

Virtual etc interfaces??

So after getting a Nagios plugin up and running that checks certain things including network interfaces, I get an error off the one box I built (as opposed to all of the others that were built by a former employee). The error complains of the "NIC logical group" failing. All the boxes are HP... (7 Replies)
Discussion started by: xdawg
7 Replies