Re: [Nagios-users] nagios HTTPS plugin?

2006-07-05 Thread Andreaco
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

[Nagios-users] retention_update_interval

2006-06-29 Thread Andreaco
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

Re: [Nagios-users] HOST dependencies

2006-04-13 Thread Andreaco
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

[Nagios-users] HOST dependencies

2006-04-13 Thread Andreaco
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

[Nagios-users] PAssive Checks

2006-04-05 Thread Andreaco
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) # $

[Nagios-users] Active directory

2006-03-07 Thread Andreaco
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

[Nagios-users] Nagios init file version 2.0rc2

2006-02-08 Thread Andreaco
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