Try this:
#!/bin/bash
# uso:
# ./check_curl_https.sh nomehost porta pattern
PATT=$4
LOUTPUT=`curl --connect-timeout 5 -s -k https://$1:$2$3`
ILCODICE=$?
if [ "$ILCODICE" -eq "0" ]
then
if echo $LOUTPUT | grep -q $PATT
then
echo "Connessione r
Hi to everybody!
You know default retention_update_interval is 60minutes, you know it should
be a performance problem to Nagios application if I decrease the value to
5minute ?
Bye,
Andrea
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Partecipa a
Hi,
ok tu use check_dummy for HOSTs or disable checks at all,
the problem is that the host's colour remain green when unrecheable.
I find a workaroud for it.
I define host like this:
define host{
use generic-host
host_name linuxbox1
alias
Why any "check ping" services depend to the HOSTs STATUS?
I need that "check ping" services send notifications in case HOST
unrecheable.
How can I break this dependency ?
Thanks,
Andrea
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Prestiti e Finanziamen
Hi,
my central nagios server ignores coming passive checks where hostname
contain spaces inside.
Do you know if it's a known problem and how to solve it ?
Thanks,Andrea
Here my sending script:
#!/bin/sh
# Arguments:
# $1 = host_name (Short name of host that the service is
# associated with)
# $
Hallo,
I need something to check the Microsoft Active Directory under Nagios.
In Nagiosexchange I found nothing related with, maybe someone have the right
plugin for me.
For example something like Ipmonitor, specifing the microsoft server name
(or ip) and the server port,
it outputs: Server handsha
Hi,
I had some troubles with the init scrip /etc/init.d/nagios in nagios version
2
'cos when the nagios application's started its checks ignore the
/home/nagios/.bashrc and /home/nagios/.netrc
I updated from nagios 1.3 to 2.0rc2 and the new init script contain the
# 2003-01-11 Ethan Galstad <[EMAI