Hi All,
I have been looking at auto logging alerts into our call logging system, this has the capability to respond with an email so I am wondering if there is
a good solution you have found or been using to do this.
I have found a few posts which date back a few years that used the procmailrc to write to the nagios.cmd file but wondered if you have got something newer
or more recent that would do this.
I believe that banditBBS found one way here http://support.nagios.com/forum/viewtop ... 16&t=12085
but I want to avoid using gmail to do this
Another forum post that you guys helped with suggested this worked pretty well.
http://www.opsview.com/forum/opsview-co ... tification
But again this was even longer ago.
Is there any better way?
We are using the latest NagiosXI installation on a CentOS 5
Thanks
Nick
Acknowledge from an email
Re: Acknowledge from an email
Well, to do this from email requires configuring the nagios server to accept the mail and then building rules to run when the mail is accepted - this type of mod can range from "custom" to "crazy".ukboarder wrote:this has the capability to respond with an email so I am wondering if there is
a good solution you have found or been using to do this
If your software supports running a curl or wget, you could just post an ack command to the command.cgi.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Acknowledge from an email
Look up "NagMailAck" which works great. If you use Exchange and require NTLM authentication I created a fork of it that works with NTLM.
Using nagmailack you dont have to use gmail. You can have your system send the email wherever you want and have nagmailack connect and do what is needed.
Using nagmailack you dont have to use gmail. You can have your system send the email wherever you want and have nagmailack connect and do what is needed.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Acknowledge from an email
Thanks Banditt for the suggestion. I'll post for the convenience of the reader the link to the exchange:
http://exchange.nagios.org/directory/Ut ... rk/details
http://exchange.nagios.org/directory/Ut ... rk/details
Re: Acknowledge from an email
Hi BanditBBS,
I did look through your original email and your exchange links but I thought you needed to use gmail which wouldn't have been usable for us.
If it is possible to use it with any email that uses IMAP I will take another look
Thanks
Nick
I did look through your original email and your exchange links but I thought you needed to use gmail which wouldn't have been usable for us.
If it is possible to use it with any email that uses IMAP I will take another look
Thanks
Nick
Re: Acknowledge from an email
I don't use it anymore(I've changed jobs) but the original may be the one you want to use, I think it is the IMAP one and can use any, it just lists google as example. I changed it to use NTLM auth for exchange, that is basiclaly all I changed, maybe a tweak here or there, but no change to overall functionality. So if using exchange, use mine, any ldap server, use the original.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Acknowledge from an email
@OP - Let us know if Bandit's suggestions worked for you.
@Bandit - As always, thanks for the help!
@Bandit - As always, thanks for the help!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Acknowledge from an email
Hi,
We are hoping to look at this on Friday so I will let you know how I get on.
Thanks
We are hoping to look at this on Friday so I will let you know how I get on.
Thanks
Re: Acknowledge from an email
I will keep this thread open. Keep us updated.