Andreaco wrote:
that's a good, idea. I think the check_http -S plug-in is enough unless you want to do something special...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 riuscita e pattern \"$PATT\" trovato" exit $ILCODICE else echo "Connessione riuscita, ma pattern \"$PATT\" non trovato" exit 1 fi else echo "KO - "$LOUTPUT exit 2 fi ################## andrea--------- Original Message -------- Da: Hari Sekhon <[EMAIL PROTECTED]> To: [email protected] <[email protected]> Oggetto: [Nagios-users] nagios HTTPS plugin? Data: 05/07/06 16:53 > -h |
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
