Re: [Nagios-users] Help - I am unable to send notifications

2008-08-01 Thread Jonathan Williams
01, 2008 2:42 PM To: Jonathan Williams; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to send notifications hi, Good to hear this is resolved, Any chance you could send a summay as to how you got it running or as to what the issue enountered were

Re: [Nagios-users] Help - I am unable to send notifications

2008-08-01 Thread Anthony Montibello
> > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jay R. > Ashworth > Sent: Thursday, July 24, 2008 10:01 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Help - I am unable to send notifications >

Re: [Nagios-users] Help - I am unable to send notifications

2008-08-01 Thread Jonathan Williams
Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay R. Ashworth Sent: Thursday, July 24, 2008 10:01 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to send notifications On Tue, Jul 22, 2008 at 05:06:22PM

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-24 Thread Jonathan Williams
R. Ashworth Sent: Thursday, July 24, 2008 10:01 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to send notifications On Tue, Jul 22, 2008 at 05:06:22PM -0400, Fulton, David wrote: > As Marc broke down the sed line I will break down the line above, the # > char

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-24 Thread Jay R. Ashworth
On Tue, Jul 22, 2008 at 05:06:22PM -0400, Fulton, David wrote: > As Marc broke down the sed line I will break down the line above, the # > character is indeed a comment character, but only to PERL. PERL is not > what tries to load the file initially, the shell tries to load the file > as a compiled

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-24 Thread Andreas Ericsson
jonathan williams wrote: > On Wed, 2008-07-23 at 05:03 -0700, Andreas Ericsson wrote: >> jonathan williams wrote: >>> [1216749581] Warning: Attempting to execute the command >>> "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h >>> "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpo

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-23 Thread jonathan williams
On Wed, 2008-07-23 at 05:03 -0700, Andreas Ericsson wrote: > jonathan williams wrote: > > [1216749581] Warning: Attempting to execute the command > > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h > > "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: > > Started

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-23 Thread jonathan williams
On Wed, 2008-07-23 at 05:03 -0700, Andreas Ericsson wrote: > jonathan williams wrote: > > [1216749581] Warning: Attempting to execute the command > > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h > > "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: > > Started

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-23 Thread Jonathan Williams
-Original Message- From: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 5:04 AM To: Jonathan Williams Cc: Marc Powell; Nagios User list Subject: Re: [Nagios-users] Help - I am unable to send notifications jonathan williams wrote: > [1216749581] Warn

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-23 Thread Andreas Ericsson
jonathan williams wrote: > [1216749581] Warning: Attempting to execute the command > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h > "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: > Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul 22 > 10:59

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread jonathan williams
On Tue, 2008-07-22 at 14:48 -0700, Sean McAfee wrote: > jonathan williams wrote: > > > > That helped a great deal in helping me understand what it is typing > to > > do. That top line than of #!/usr/bin/perl -w does exist and the > perl > > file does exist in /usr/bin so it should all be correct.

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread Sean McAfee
jonathan williams wrote: > > That helped a great deal in helping me understand what it is typing to > do. That top line than of #!/usr/bin/perl -w does exist and the perl > file does exist in /usr/bin so it should all be correct. Up until you > pointed out my typo of the spelling of perl as "pear

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread jonathan williams
Cc: Nagios User list > > Subject: Re: [Nagios-users] Help - I am unable to send notifications > > > > > > On Tue, 2008-07-22 at 11:14 -0700, Marc Powell wrote: > > > > > > On Jul 22, 2008, at 12:26 PM, jonathan williams wrote: > > > >> > >

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread Fulton, David
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of jonathan williams > Sent: Tuesday, July 22, 2008 2:36 PM > To: Marc Powell > Cc: Nagios User list > Subject: Re: [Nagios-users] Help - I am unable to send notifications &g

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread jonathan williams
gt; > Subject: Re: [Nagios-users] Help - I am unable to send notifications > > > > > > > > > [EMAIL PROTECTED]:/usr/local/nagios/libexec# sed -i > '1s,.*,#!/usr/bin/ > > > perl > > > -w,' check_sendmail.pl > > > sed: can&#

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Marc Powell > Sent: Tuesday, July 22, 2008 1:15 PM > To: Nagios User list > Subject: Re: [Nagios-users] Help - I am unable to send notifications > > > >

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread jonathan williams
On Tue, 2008-07-22 at 11:14 -0700, Marc Powell wrote: > > On Jul 22, 2008, at 12:26 PM, jonathan williams wrote: > >> > > >> 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 s

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread Marc Powell
On Jul 22, 2008, at 12:26 PM, jonathan williams wrote: >> >> 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: > Not unless you experienc

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread jonathan williams
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 wh

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread Marc Powell
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

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread jonathan williams
On Tue, 2008-07-22 at 09:08 -0700, Matthew Macdonald-Wallace wrote: > On Mon, 21 Jul 2008 07:47:00 -0700 > "Jonathan Williams" <[EMAIL PROTECTED]> wrote: > > > sed: can't read check_sendmail.pl: No such file or directory > > Are you in the correct directory? > > Try running the following: > >

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread jonathan williams
On Tue, 2008-07-22 at 09:08 -0700, Matthew Macdonald-Wallace wrote: > On Mon, 21 Jul 2008 07:47:00 -0700 > "Jonathan Williams" <[EMAIL PROTECTED]> wrote: > > > sed: can't read check_sendmail.pl: No such file or directory > > Are you in the correct directory? > > Try running the following: > >

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread Matthew Macdonald-Wallace
On Mon, 21 Jul 2008 07:47:00 -0700 "Jonathan Williams" <[EMAIL PROTECTED]> wrote: > sed: can't read check_sendmail.pl: No such file or directory Are you in the correct directory? Try running the following: locate check_sendmail.pl then cd to the directory that it gives you and run the sed comm

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-22 Thread Jonathan Williams
I hate bumping my own e-mail post, I just have not heard anything yet. Thanks, Jon From: Jonathan Williams Sent: Monday, July 21, 2008 7:47 AM To: Anthony Montibello; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Help - I am unable to

Re: [Nagios-users] Help - I am unable to send notifications

2008-07-21 Thread Jonathan Williams
It was about time I changed the subject line of my e-mail since the NSClient++ service restart issue is fixed thanks to you guys. I am reposting this since my last e-mail on Friday which is at the bottom of this thread. I was hoping to verify the syntax of this command: sed -i '1s,.*,#!/usr/b