Anyone care to help me google?
Scripting notification email
Scripting notification email
I am trying to write a script to send email, but prefer to use SMTP but I need to use TLS and supply username and password. I tried looking through XI's code but couldn't find anything.
Anyone care to help me google?
Anyone care to help me google?
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
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Scripting notification email
Our smtp stuff is generally done via the phpmailer script, did you take a look at that? Are you trying to pull information from nagios\postgres or just have the command pass all needed information to your script?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Scripting notification email
phpmailer will work for my needs I think. Thanks for pointing it out!sreinhardt wrote:Our smtp stuff is generally done via the phpmailer script, did you take a look at that? Are you trying to pull information from nagios\postgres or just have the command pass all needed information to your script?
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
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Scripting notification email
Ya no problem!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.