No probs
In the misccommands.cfg I added the following
# 'host-notify-by-sendEmail' send host email via PERL script
define command{
command_namehost-notify-by-sendEmail
command_line/usr/local/bin/sendEmail -f [EMAIL PROTECTED]
-t $CONTACTEMAIL$ -u "Host $HOSTSTATE$ alert f
On Thu, 2006-02-02 at 09:51 +1300, Jim Pye wrote:
> Guys
>
> Jumping in here. I use a PERL script called sendEmail available from:
>
> http://caspian.dotconf.net/menu/Software/SendEmail/
>
> It works from the command line and if you are interested I can give you
> the nagios command .cfg entries
On Thu, 2006-02-02 at 09:34 +1300, Steve Shipway wrote:
> > > He can monitor it via check_tcp, but if amavisd is not functional,
> > > _he's not going to get the email alert._ Because his email isn't
> > > going to work.
> ...
> > Yes, you got it, but how do I send an email alert sent
> > direc
> Thanks, how do I get Nagios to run my shell script in place of the
> normal notification?
RTM. :)
Hint: misccommands.cfg
--
"'And you've got 10 gig of files to put through our mail system?' I
ask, squeezing my mouse in a non-approved manner." -- BOFH, 2006-01
--
On Wed, 2006-02-01 at 14:32 -0600, C. Bensend wrote:
> > Yes, you got it, but how do I send an email alert sent directly to a
> > remote SMTP gateway?
>
> That all depends on your mailserver setup. Is there any way you
> can bypass the spam/anti-virus to send mail directly?
>
> Or, it could cert
Guys
Jumping in here. I use a PERL script called sendEmail available from:
http://caspian.dotconf.net/menu/Software/SendEmail/
It works from the command line and if you are interested I can give you
the nagios command .cfg entries to add.
It works on Linux, Windows and being PERL I modified the
> > He can monitor it via check_tcp, but if amavisd is not functional,
> > _he's not going to get the email alert._ Because his email isn't
> > going to work.
...
> Yes, you got it, but how do I send an email alert sent
> directly to a remote SMTP gateway?
If you are using amavisd, then I take
> Yes, you got it, but how do I send an email alert sent directly to a
> remote SMTP gateway?
That all depends on your mailserver setup. Is there any way you
can bypass the spam/anti-virus to send mail directly?
Or, it could certainly be done easily enough with a shell script
that connects to a
I use nullmailer but it cant run on the same box as the one that runs amvisd2006/2/1, Robert Fitzpatrick <[EMAIL PROTECTED]>:
On Tue, 2006-01-31 at 21:38 -0600, C. Bensend wrote:> His mailserver is on the Nagios host. It uses amavisd.>> He can monitor it via check_tcp, but if amavisd is not functi
On Tue, 2006-01-31 at 21:38 -0600, C. Bensend wrote:
> His mailserver is on the Nagios host. It uses amavisd.
>
> He can monitor it via check_tcp, but if amavisd is not functional,
> _he's not going to get the email alert._ Because his email isn't
> going to work.
>
> So I think what he's askin
> Depending upon what you want to check, there are many solutions. I'm not
> familiar with Amavisd, so I can't say for certain. However it seems that
> you may to look at: check_smtp, check_mailq, check_proc, and check_tcp
> (among others). You can even write your own quickly. I'm not sure I
> u
Depending upon what you want to check, there are many solutions. I'm not
familiar with Amavisd, so I can't say for certain. However it seems that
you may to look at: check_smtp, check_mailq, check_proc, and check_tcp
(among others). You can even write your own quickly. I'm not sure I
understand,
Maybe you should try check_proc instead. When you say localhost, I'm
assuming you are referring to your Nagios server.
Todd
- Original Message -
From: "Robert Fitzpatrick" <[EMAIL PROTECTED]>
To: "Nagios"
Sent: Tuesday, January 31, 2006 8:00 PM
Subje
I want to monitor Amavisd on localhost port 10024 with check_tcp, but if
Amavisd is down, the notification will not make it. How can I monitor a
localhost port?
--
Robert
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through l
14 matches
Mail list logo