-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kaushal Shriyan wrote: > Hi, > > I have a query regarding check_http Nagios Plugin,it works fine without > any issues > my check_http line looks like /usr/lib/nagios/plugins/check_http -H > *MailScanner warning: numerical links are often malicious:* 127.0.0.1 > <http://127.0.0.1> -p 8080 -u /SMPPSender/control -r "Disconnected" > --invert-regex > Now when i get sms alert i see it as HTTP CRITICAL - pattern found,if > the service is critical > Now instead of pattern found, is there a way i can get the string > "Disconnected" in the sms
That would require you to rewite the notifications. and I guess you will need to make them a bit more complex then they are at the moment. If you only want this one services you will just add a new notification to be used for the specific services. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJE3aXBvzDRVjxmYERAg57AJ4uFhpEcS1orY8q+Jxm253h1auMWwCbBR8r uasbcwH5e9w8u6/kQsQUFSQ= =RbLQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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