Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Justin Carmony's Blog:
SMS Nagios Notifications with PHP & Twilio
Jan 31, 2012 @ 18:40:46

In this latest post to his blog Justin Carmony looks at a system he created to hook his Nagios notifications into the Twilio web service and have it notify him via SMS with something was wrong.

In the past I would just use my iPhone's email-to-txt email address. However, when I received the txt message, it wasn't formated very pretty, and it would have a different "From Number." So if we had a crazy day, I would have 20-30 message threads in my iPhone all about Nagios. [...] What I like out this setup is with Twilio, I can buy a phone number for $1 a month. So all my notifications come through the same number.

He's included the PHP code he uses to send the notifications (using the Twillo library) and the Nagios commands he configured to send the notifications to that script via the command line.

tagged: sms nagios tutorial twilio notifications commandline

Link:

Sebastian Nohn's Blog:
Using Net_DNSBL and Nagios to check if your SMTP server is listed in a RBL
Oct 05, 2007 @ 15:22:00

Sebastian Nohn has created a handy little script using PEAR packages to work with a Nagios installation to perform an automatic check - validating that your domain isn't listed with the given black lists.

RBLs are a great way to get rid of a lot of SPAM (if you choose the right ones). On the other hand you (and users of your mail server) get in big trouble if your SMTP server gets listed on a common RBL.

Checking this manually is a job that sucks a lot, checking this automatically is an easy job with Nagios, PHP, Net_DNSBL and Console_Getopt.

He includes the parts you'll need - grabbing the PEAR package, the PHP script to make the request and the changes you'll need to make to the configuration files to make it all work together.

tagged: netdnsbl nagios smtp blacklist check pear package netdnsbl nagios smtp blacklist check pear package

Link:

Sebastian Nohn's Blog:
Using Net_DNSBL and Nagios to check if your SMTP server is listed in a RBL
Oct 05, 2007 @ 15:22:00

Sebastian Nohn has created a handy little script using PEAR packages to work with a Nagios installation to perform an automatic check - validating that your domain isn't listed with the given black lists.

RBLs are a great way to get rid of a lot of SPAM (if you choose the right ones). On the other hand you (and users of your mail server) get in big trouble if your SMTP server gets listed on a common RBL.

Checking this manually is a job that sucks a lot, checking this automatically is an easy job with Nagios, PHP, Net_DNSBL and Console_Getopt.

He includes the parts you'll need - grabbing the PEAR package, the PHP script to make the request and the changes you'll need to make to the configuration files to make it all work together.

tagged: netdnsbl nagios smtp blacklist check pear package netdnsbl nagios smtp blacklist check pear package

Link:


Trending Topics: