I
found that my bug was the way that I was calling the script. Even though the
sms-msg.pl script was marked as executable and the first line contained #!
/usr/bin/perl -w Nagios didn't run Perl . I had to specify "/usr/bin/perl
-w /usr/lib/nagios/plugins/sms-msg.pl"
I
found this to be a little weird.. perhaps it's a bug? or just something over
looked. From: Lori Adams [mailto:[EMAIL PROTECTED] Sent: January 26, 2006 2:17 PM To: Chad Osmond; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Notification script problems.. How do I debug Have you checked any
log for errors? Maybe you have a permissions problem on your sms script.
-Lori From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad Osmond My contacts.cfg calls the
notify-by-sms. contactgroups contains myself and
another tech here. We both get e-mail messages about critical services, but I
don't get a SMS. This is in Nagios 1.2.2
btw... # 'osmond' contact
definition From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Toto Capuccino What do your services.cfg file conrtain
about enabling sms messages ? 2006/1/26, Chad Osmond <[EMAIL PROTECTED]>: |
- [Nagios-users] Nagios ignoring Perl Shebang - Was: Notificati... Chad Osmond