monitoring::livestatus::multi(3pm) [debian man page]
Monitoring::Livestatus::MULTI(3pm) User Contributed Perl Documentation Monitoring::Livestatus::MULTI(3pm)NAME
Monitoring::Livestatus::MULTI - connector with multiple peers
SYNOPSIS
use Monitoring::Livestatus;
my $nl = Monitoring::Livestatus::MULTI->new( qw{nagioshost1:9999 nagioshost2:9999 /var/spool/nagios/live.socket} );
my $hosts = $nl->selectall_arrayref("GET hosts");
CONSTRUCTOR
new ( [ARGS] )
Creates an "Monitoring::Livestatus::MULTI" object. "new" takes at least the server. Arguments are the same as in Monitoring::Livestatus.
METHODS
do
See Monitoring::Livestatus for more information.
selectall_arrayref
See Monitoring::Livestatus for more information.
selectall_hashref
See Monitoring::Livestatus for more information.
selectcol_arrayref
See Monitoring::Livestatus for more information.
selectrow_array
See Monitoring::Livestatus for more information.
selectrow_arrayref
See Monitoring::Livestatus for more information.
selectrow_hashref
See Monitoring::Livestatus for more information.
selectscalar_value
See Monitoring::Livestatus for more information.
errors_are_fatal
See Monitoring::Livestatus for more information.
warnings
See Monitoring::Livestatus for more information.
verbose
See Monitoring::Livestatus for more information.
peer_addr
See Monitoring::Livestatus for more information.
peer_name
See Monitoring::Livestatus for more information.
peer_key
See Monitoring::Livestatus for more information.
disable
$ml->disable()
disables this connection, returns the last state.
enable
$ml->enable()
enables this connection, returns the last state.
AUTHOR
Sven Nierlein, <nierlein@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Sven Nierlein
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2010-07-04 Monitoring::Livestatus::MULTI(3pm)
Check Out this Related Man Page
COLLECTDMON(1) collectd COLLECTDMON(1)NAME
collectdmon - Monitoring daemon for collectd
SYNOPSIS
collectdmon [options] [-- collectd options]
DESCRIPTION
collectdmon is a small "wrapper" daemon which starts and monitors the collectd daemon. If collectd terminates it will automatically be
restarted, unless collectdmon was told to shut it down.
OPTIONS
collectdmon supports the following options:
-c <path>
Specify the pathname of the collectd binary. You may either specify an absolute path or simply the name of the binary in which case the
PATH variable will be searched for it. The default is "collectd".
-P <pid-file>
Specify the pid file. The default is "/var/run/collectdmon.pid".
-h Output usage information and exit.
collectd options
Specify options that are passed on to collectd. If it is not already included, -f will be added to these options. See collectd(1).
SIGNALS
collectdmon accepts the following signals:
SIGINT, SIGTERM
These signals cause collectdmon to terminate collectd, wait for its termination and then shut down.
SIGHUP
This signal causes collectdmon to terminate collectd, wait for its termination and then restart it.
SEE ALSO collectd(1), collectd.conf(5), <http://collectd.org/>
AUTHOR
collectd has been written by Florian Forster <octo at verplant.org> and many contributors (see `AUTHORS').
collectdmon has been written by Sebastian Harl <sh@tokkee.org>.
5.1.0 2012-04-02 COLLECTDMON(1)
I am looking for a commercial tool that will give me -UNIX Monitoring performance solution+ reports on CCV format. (as perfmon on windows machines).
The tool must have following counters per PROCESS:
Page Faults/sec
Virtual Bytes
% Processor Time
Handles count
Threads count... (19 Replies)
#!/bin/bash
# Disk Space Monitoring for more than 95 %
# and Sending Alerts by Mail
if ;
then
`df -k |awk '$5 > 95 {print $1 " ----------- " $5}' |mailx -s "More than 95% disk usage in DEV" email@test.com';
else
exit 0
fi
I get the... (8 Replies)
I hope this is the correct forum - apologies to all if I am mistaken.
We are fairly sure someone has got access to the root password on one of our machines and is 'playing silly b*****rs' with it.
Due to local politics we can't easily get the password changed and we need to gather some info... (15 Replies)
Hi All,
I have a Java application running in the background which process looks like this.
java -DMyService=Y -DWorkingDir
And I have a monitoring script which looks like this;
count_service=`ps -aef | grep MyService | wc -l`
if ; then
echo "Service_Stopped on `date`" >>... (6 Replies)
Hello
If there is a way to get a statistics from Aix box server from a month.
cpu use, memory, disc use, etc.
Maybe via smitty or I need to do a script.
The os is Aix 5.3
Greetings (8 Replies)
Done some google search on this, and I can find a ton that just search for a domain, like yahoo.com, google.com, etc...
But I need to take one I found, and modify it to include port number. I have a bunch of apache instances that I manage and it's a pretty consolidated environment, so lots of... (10 Replies)
Hi all,
I got an error when running this script (from BigAdmin community)
the error is
test: argument expected
my server version is
SunOS XXX 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-V890
any idea on it?
#! /usr/bin/ksh
###
### This script can be run from cron to... (9 Replies)
Hi,
Are there any GUI (preferably web based) Solaris monitoring tools available for the SPARC platform.
Just to clarify, when i say GUI, I don't mean buttons to configure the Software, of course that would be a plus, but rather GUI in terms of output, like Graphs.
Thanks (6 Replies)
Hello.
First, excuse my poor english.
I try to monitor a dysfonction process which cause an excessive cpu consumption with the ps -ef command on AIX 5.3 TL08.
The C column indicates the cpu recently used. But I don't know the units of that C column.
Is it the "Scheduled time" of the... (7 Replies)
I am getting errors when I try to run the script I just made, any suggestiongs would be helpful. Please be gentle, Im still a newbie and learning on the go at an entry level position.
#!/usr/bin/ksh
# PURPOSE: This script is going to view the top 10 largest home directory Folders, then go in each... (11 Replies)
Hi i need to send mail from my Unix server i used the below code.
From: TTS.OO.Monitoring.Operations
Subject: Error
X-Mailer: htmlmail 1.0
Mime-Version: 1.0
Content-Type: text/html; charset=US-ASCII
<HTML><head><style type='text/css'>
table.altrowstable { font-family:... (6 Replies)
I am on SCO UNIX, I need to write a script to monitor root file system. For some reason it's not working for me.
#!/bin/sh
df -B / | awk '{ print $5 " " $1 }' | while read output;
do
echo $output
if ; then
echo "Running out of space \ HOSTNAME"
# mail -s "Alert: Almost out of... (8 Replies)
Hi All,
my input file is comma delimited.
1,Y,1111,9999
2,Y,1,9999
2,N,1,9999
2,Y,9999,9999
o/p should be
1,Y,1112,9999
2,Y,0002,9999
2,Y,0000,9999
scenario is
1.if $2 is "N" then exit.
2.if $3 is not equal to $4 then increment $3 by 1 padding to four decimal places to the left.... (6 Replies)
Hello,
I hope someone can hep with this. I use a skript to send multiline Data to a Monitoring system. Bu I'm not able to use linebreaks or escape sequences.
The skript is simple like that:
#!/bin/bash
var="Erste Zeile \n zweite Zeile \n Dritter Teil"
zabbix_sender -c... (17 Replies)