On 10/23/2010 11:49 AM, Andreas Ericsson wrote:
> On 10/23/2010 11:38 AM, Jonas Kellens wrote:
>> I want Nagios to activate the backup server (host C), when the
>> production server (host B) has problems.
>>
>>
> Look through the docs for eventhandlers.
Hello list,
is the following setup possible :
host A : Nagios Server
host B : server being monitored
host C : backup server
If Nagios (host A) can not ping host B (or any other check via nrpe),
can Nagios then execute a command on host C ??
I want Nagios to activate the backup server (host
As rpm -qa shows, I have the openssl-devel package installed :
[nag...@itcenter1 ~]$ rpm -qa | grep ssl
openssl-devel-0.9.8e-12.el5
app-ssl-5.0-10
openssl-0.9.8e-12.el5
What would then be my ???
/usr/bin/openssl
/usr/include/openssl
/usr/include/openssl/aes.h
/usr/include/openssl/asn1.h
/usr/in
Probably one of the most asked questions. I don't know why in my case
things aren't working.
[nag...@itcenter1 ~]$ ps aux |grep nrpe
nagios9194 0.0 0.1 8220 1712 ?Ss 08:39
0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
nagios 12480 0.0 0.0 3936 748
I read the following on
http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT :
2.1. Print only one line of text
Nagios will only grab the first line of text from STDOUT when it
notifies contacts about potential problems. If you print multiple lines,
you're out of luck (though thi
I'm having a lot of difficulty with a plugin that monitors SIP peers on
my Asterisk-server.
I've been breaking my head for about a week now...
This is the configuration of NRPE :
[nag...@vps ~]$ vi /etc/xinetd.d/nrpe
# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
I am running the nrpe-plugin as part of xinetd. I had the same issue
till I made the following setting in /etc/xinetd.d/nrpe :
service nrpe
{
flags = REUSE
socket_type = stream
port= 5666
wait= no
user= nagio
When executing the following command :
[r...@nagios ~]# /usr/local/nagios/libexec/check_nrpe -H ip_address -c
check_asterisk_peers
I get the following output :
NRPE: Unable to read output
Somewhere Nagios does not have enough rights to question Asterisk about
the sip peers.
These are the right
export PERL5LIB=/usr/local/nagios/libexec/ solved the problem.
Jonas.
> > The file is already there :
> >
> > bash-3.2# locate utils.pm
> > /usr/local/nagios/libexec/utils.pm
> > /usr/src/nagios-plugins-1.4.14/contrib/packet_utils.pm
> > /usr/src/nagios-plugins-1.4.14/plugins-scripts/utils.pm
>
This is the output when placing the perl-files
in /usr/local/nagios/libexec/ :
bash-3.2# /usr/local/nagios/libexec/check_mysql_threads --help
bash: /usr/local/nagios/libexec/check_mysql_threads: No such file or
directory
bash-3.2# /usr/local/nagios/libexec/check_mysql_threads.pl
Can't locate uti
I have found the following Nagios plugin to monitor MySQL :
bash-3.2# wget
http://oss.isg.inf.ethz.ch/nagiosplug/download/MySQL-1.3.tgz
bash-3.2# ls
AUTHORS ChangeLog check_mysql.pl check_mysql_slow.pl
COPYING
VERSION
build.sh check_mysql_bytes.pl check_mysql_queries
This helped indeed. Good advice. Thanks.
Jonas.
> On Sat, 2009-10-31 at 13:40 +0100, Natxo Asenjo wrote:
>
> > hi,
> >
> >
> > have you done this:
> >
> >
> > http://nagios.sourceforge.net/docs/3_0/verifyconfig.html
> >
> >
> > it usually tells you where the error are in your configuratio
In /usr/local/nagios/etc/objects I have created a new asterisk.cfg :
[r...@nagios objects]# ls -al
-rw-r--r-- 1 nagios nagios 1483 Oct 31 12:03 asterisk.cfg
-rw-rw-r-- 1 nagios nagios 7714 Oct 30 19:30 commands.cfg
-rw-rw-r-- 1 nagios nagios 2166 Oct 30 19:30 contacts.cfg
-rw-rw-r-- 1 nagios na
Thanks for your reply, Mark.
PHP is not installed. I did not know that PHP was necessary for Nagios.
I followed this guide :
http://www.thegeekstuff.com/2008/05/nagios-30-jumpstart-guide-for-red-hat-overview-installation-and-configuration
and
http://nagios.sourceforge.net/docs/2_0/installing.html
Dear list,
I have installed nagios from source.
Then executed the following commands :
[r...@nagios nagios-3.2.0]# chown nagios.nagios /usr/local/nagios/
[r...@nagios nagios-3.2.0]# make install-webconf
[r...@nagios ~]# htpasswd -c /usr/local/nagios/etc/htpasswd.users
nagiosadmin
In my /us
ing a VPN-connection. My Nagios-server @ home will
then always have the IP 10.10.8.2 or something like that...
Would that sound safer to you ?
Greetingz,
Jonas.
On Fri, 2009-10-30 at 11:03 -0500, Marc Powell wrote:
> On Oct 30, 2009, at 9:12 AM, jonas kellens wrote:
>
> > Hello th
Hello there !
I'm new to the list and rather new to Nagios also... I have the
following question :
I have the NRPE-plugin for Nagios running as part of the Xinetd-service
on a remote server, this is its config :
bash-3.2# cat /etc/xinetd.d/nrpe
# default: on
# description: NRPE (Nagios Remote P
17 matches
Mail list logo