Help - I am unable to send notifications

jonathan williams jonathan.williams at us.g4s.com
Tue Jul 22 19:26:29 CEST 2008


On Tue, 2008-07-22 at 10:11 -0700, Marc Powell wrote:
> 
> On Jul 22, 2008, at 11:56 AM, jonathan williams wrote:
> >>
> 
> > I am guessing (with all my vast linux experience...that's sarcasm) 
> > that
> > perhaps the send_mail.pl wrapper does not know how to find the
> actual
> > senmail file which is located in /usr/lib.  I don't see anything in 
> > the
> > send_mail.pl script that indicates it is looking for it though.  
> > Here is
> > the send_mail.pl file contents:
> >
> > #!/usr/bin/pearl -w
> > #
> 
> This is incorrect. It should be 'perl', not 'pearl'. That's what 
> they've been trying to get you to correct. Edit the file and fix it.
> 
> --
> Marc
> 
> 
> -------------------------------------------------------------------------
> 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 at 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
> 
> Umm..what can I say?  Wow.  OK.. I fixed that in the send_mail.pl
> file.  Any other steps I need to take once I did that to make it work.
> I did re-run the sed-i command and still get the same error:

root at LOOKINIUM:/usr/local/nagios/libexec# sed
1q /usr/local/nagios/libexec/send_mail.pl
#!/usr/bin/perl -w 
root at LOOKINIUM:/usr/local/nagios/libexec# sed -i '1s,.*,#!/usr/bin/perl
-w,' check_sendmail.pl
sed: can't read check_sendmail.pl: No such file or directory


-------------------------------------------------------------------------
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 at 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





More information about the Users mailing list