10 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Hello,
I am trying to get correct syntax to monitoring process running on windows server using CheckProcState. when i am trying below command whether notepad.exe running or not. its showing process running.
Could you please provide me correct syantx.
/usr/local/nagios/libexec/check_nrpe -H... (0 Replies)
Discussion started by: ghpradeep
0 Replies
2. AIX
Hi,
is any one using nagios monitoring solution on AIX ? if yes, is it supported on AIX 7.1 TL 03 as well ?
I tried to search online and unix.com , could not find it.
Thank you (5 Replies)
Discussion started by: aaron8667
5 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I want to setup Nagios with service Memcache...We have Amazon Cloud..Please help me to setup this service on my Nagios Client.
How to check Memcache is working or not on my server??
1. Please provide us the command defination to set on Nagios Server for .cfg file.
2.Please provide... (1 Reply)
Discussion started by: chetan
1 Replies
4. Infrastructure Monitoring
We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side.
I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies
5. Infrastructure Monitoring
Hello,
What would be the best way to monitor a vmware server through a Draytek firewall using Nagios?
I'm quite new to nagios and any help would be greatly appreciated.
Also I have been trying to monitor my Windows 2003 server using nagios, I am not having much luck. I tried to use this guide:... (2 Replies)
Discussion started by: Jethro
2 Replies
6. Red Hat
Hello,
I installed Nagios on the Centreon Platform <----"Centralized monitoring platform" anyways now every time i click on any of the tabs inside centreon interface, it gives me a Blank page, i have no idea what to do. i thought of resetting nagios to an earlier time when it was running... (2 Replies)
Discussion started by: waelkd
2 Replies
7. Infrastructure Monitoring
Hi all,
I am not being able to monitor CPU of freeBSD machine from my CentOS server. I have used check_aix_cpu but always gives garbage value, seems wrong in scripting. i want to monitor CPU usage of my freeBSD machine from my centOS
server. I am able to monitor many services of that machine... (0 Replies)
Discussion started by: gsuwal
0 Replies
8. Infrastructure Monitoring
Hi, I have configured check_snmp plugin and using the plugin i am able to monitor the uptime of the switch.
But the following fails
# /usr/local/nagios/libexec/check_snmp -H 10.10.10.1 -C ready -o ifOperStatus.1 -r 1 -m RFC1213-MIB
SNMP CRITICAL - *down(2)* |
#
Any suggestions ? (1 Reply)
Discussion started by: uxadmin007
1 Replies
9. Infrastructure Monitoring
All,
Looking for a nagios plugin which can do the monitoring of a file which has a value and alert if the value in the file goes more than 100 or so.
Any help is appreciated. (0 Replies)
Discussion started by: uxadmin007
0 Replies
10. Infrastructure Monitoring
Nagios is a free, open source enterprise-class network and server monitoring system that can benefit your IT infrastructure. Bill Bradford describes how to install and set up Nagios on a Solaris 10 system. For this example Bill uses Solaris 10 update 6 running in 32-bit mode on a VMware virtual... (0 Replies)
Discussion started by: Linux Bot
0 Replies
Nagios::Plugin::Performance(3pm) User Contributed Perl Documentation Nagios::Plugin::Performance(3pm)
NAME
Nagios::Plugin::Performance - class for handling Nagios::Plugin performance data.
SYNOPSIS
use Nagios::Plugin::Performance use_die => 1;
# Constructor (also accepts a 'threshold' obj instead of warning/critical)
$p = Nagios::Plugin::Performance->new(
label => 'size',
value => $value,
uom => "kB",
warning => $warning,
critical => $critical,
min => $min,
max => $max,
);
# Parser
@perf = Nagios::Plugin::Performance->parse_perfstring(
"/=382MB;15264;15269;; /var=218MB;9443;9448"
)
or warn("Failed to parse perfstring");
# Accessors
for $p (@perf) {
printf "label: %s
", $p->label;
printf "value: %s
", $p->value;
printf "uom: %s
", $p->uom;
printf "warning: %s
", $p->warning;
printf "critical: %s
", $p->critical;
printf "min: %s
", $p->min;
printf "max: %s
", $p->max;
# Special accessor returning a threshold obj containing warning/critical
$threshold = $p->threshold;
}
# Perfdata output format i.e. label=value[uom];[warn];[crit];[min];[max]
print $p->perfoutput;
DESCRIPTION
Nagios::Plugin class for handling performance data. This is a public interface because it could be used by performance graphing routines,
such as nagiostat (http://nagiostat.sourceforge.net), perfparse (http://perfparse.sourceforge.net), nagiosgraph
(http://nagiosgraph.sourceforge.net) or NagiosGrapher (http://www.nagiosexchange.org/NagiosGrapher.84.0.html).
Nagios::Plugin::Performance offers both a parsing interface (via parse_perfstring), for turning nagios performance output strings into
their components, and a composition interface (via new), for turning components into perfdata strings.
USE'ING THE MODULE
If you are using this module for the purposes of parsing perf data, you will probably want to set use_die => 1 at use time. This forces
&Nagios::Plugin::Functions::nagios_exit to call die() - rather than exit() - when an error occurs. This is then trappable by an eval. If
you don't set use_die, then an error in these modules will cause your script to exit
CLASS METHODS
Nagios::Plugin::Performance->new(%attributes)
Instantiates a new Nagios::Plugin::Performance object with the given attributes.
Nagios::Plugin::Performance->parse_perfstring($string)
Returns an array of Nagios::Plugin::Performance objects based on the string entered. If there is an error parsing the string - which
may consists of several sets of data - will return an array with all the successfully parsed sets.
If values are input with commas instead of periods, due to different locale settings, then it will still be parsed, but the commas will
be converted to periods.
OBJECT METHODS (ACCESSORS)
label, value, uom, warning, critical, min, max
These all return scalars. min and max are not well supported yet.
threshold
Returns a Nagios::Plugin::Threshold object holding the warning and critical ranges for this performance data (if any).
rrdlabel
Returns a string based on 'label' that is suitable for use as dataset name of an RRD i.e. munges label to be 1-19 characters long with
only characters [a-zA-Z0-9_].
This calls $self->clean_label and then truncates to 19 characters.
There is no guarantee that multiple N:P:Performance objects will have unique rrdlabels.
clean_label
Returns a "clean" label for use as a dataset name in RRD, ie, it converts characters that are not [a-zA-Z0-9_] to _.
It also converts "/" to "root" and "/{name}" to "{name}".
perfoutput
Outputs the data in Nagios::Plugin perfdata format i.e. label=value[uom];[warn];[crit];[min];[max].
SEE ALSO
Nagios::Plugin, Nagios::Plugin::Threshold, http://nagiosplug.sourceforge.net.
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 2010-12-03 Nagios::Plugin::Performance(3pm)