WHMCS CEO Matt Posted July 7, 2008 WHMCS CEO Share Posted July 7, 2008 I developed an IP monitoring addon for my own use to monitor various servers & their ports. It has proved very useful for me so I am now offering it as a free addon for you to use with WHMCS! It allows you to monitor as many IP and port combinations as you like and sends email notifications when a service is down, and then again when it comes back up. The emails are sent as short plain text and so it can be used with an email-to-SMS service from your phone provider. It relies on the server your WHMCS is installed on being online for the checking to function. This is not a client area addon and is not intended for client use. Details can be found @ http://wiki.whmcs.com/Contribution:IP_Monitor Hope you find it useful! Matt 0 Quote Link to comment Share on other sites More sharing options...
Emerson Posted July 8, 2008 Share Posted July 8, 2008 Awesome! Thanks Matt You should make this as a stand alone script for sale 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted July 9, 2008 Share Posted July 9, 2008 Nice work Matt. My version just didn't quite cut the mustard, so I'm glad you made your version public. The only issue I had with it was the "DELETE" image that you had. For whatever reason, in my current version (3.6.1) the "/admin/images/icons/delete.png" file doesn't exist. Was that something added in the 3.6.2 version? Other than that, the script works flawlessly. Nice work! Only other item is that I'd like to be able to change the wording that goes out on the notice. Since I'd slap this into an SMS, all the "-------" are just wasted characters. Much rather see "Status: DOWN" and "Status: UP" rather than a long winded sentence. 0 Quote Link to comment Share on other sites More sharing options...
apollo1 Posted July 9, 2008 Share Posted July 9, 2008 Thanks you, will definitely check this out! 0 Quote Link to comment Share on other sites More sharing options...
goddess_dix Posted July 17, 2008 Share Posted July 17, 2008 My cron for this is generating a headers already sent error. <br /> <b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in <b>/home/dbadmin/public_html/thanks/modules/admin/ip_monitor/../../../dbconnect.php</b> on line <b>0</b><br /> Since I just uploaded the files and didn't edit them, i was a little surprised. Anyone else have this issue? 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted July 17, 2008 Share Posted July 17, 2008 I didn't have the issue, just installed and away it went. Might want to try removing the install and re-running it. Maybe it was a fluke. 0 Quote Link to comment Share on other sites More sharing options...
goddess_dix Posted July 17, 2008 Share Posted July 17, 2008 thanks for the thought. worth a shot. 0 Quote Link to comment Share on other sites More sharing options...
Erik H. Posted September 19, 2008 Share Posted September 19, 2008 Matt, We want to add the option to send an sms when the service is down. However we do need some additional options to do so. Here (NL) most of us use Mollie to send SMS messages. Can you please check documentation here: http://mollie.nl/geavanceerd/sms/http/en/ and see if you can add options to get this running ? If wanted I am willing to help and provide our company login for testing purposes Kind regards, Erik 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted September 19, 2008 Share Posted September 19, 2008 Plenty of services are already available to do this; we use http://www.hyperspin.com 0 Quote Link to comment Share on other sites More sharing options...
Speedy059 Posted September 26, 2008 Share Posted September 26, 2008 It would be great if this script would double check a ip/port X amount of times before confirming the service is down. Or does it already do that? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted October 26, 2008 Share Posted October 26, 2008 It would be great if this script would double check a ip/port X amount of times before confirming the service is down. Or does it already do that? It will check the port at regular intervals depending on how often you set the cron job to run. If when it checks and the port is unavailable it will fail. I would rather it tell me as soon as the port has failed so that it can be rectified quickly instead of waiting for a customer complaint. Mind you that if you are checking the same server as it is installed on and it fails you won't be notified anyway. It would work well if you teamed up with someone else so they check yours and you check there's. 0 Quote Link to comment Share on other sites More sharing options...
Speedy059 Posted October 26, 2008 Share Posted October 26, 2008 We would also like to change the email template that it sends, and adjust where the email is sent depending on which server goes offline. We have over 200 servers at various locations and would like the email to be dispatched to different emails depending on the server that goes offline. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 26, 2008 Author WHMCS CEO Share Posted October 26, 2008 and adjust where the email is sent depending on which server goes offline Can already do that - you can set which email address is notified for each IP that fails If you want customisations, of course as always, you can open a ticket to discuss. Matt 0 Quote Link to comment Share on other sites More sharing options...
Speedy059 Posted October 26, 2008 Share Posted October 26, 2008 Ok, I'll do that. 0 Quote Link to comment Share on other sites More sharing options...
Roger Posted October 28, 2008 Share Posted October 28, 2008 Very nice add-on Matt. Worked first time around. Thanks... 0 Quote Link to comment Share on other sites More sharing options...
michelle Posted October 30, 2008 Share Posted October 30, 2008 Great script! Thanks for sharing it and making it available. 0 Quote Link to comment Share on other sites More sharing options...
CoreDeluxe Posted November 15, 2008 Share Posted November 15, 2008 I see it is ioncubed, however there is a way to modify down messages ? 0 Quote Link to comment Share on other sites More sharing options...
zigzam Posted January 3, 2009 Share Posted January 3, 2009 Just a few things that would make this addon even better: 1) Notify when a service is back up 2) Only notify once when a service is down 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted January 3, 2009 Author WHMCS CEO Share Posted January 3, 2009 1) Notify when a service is back up2) Only notify once when a service is down It already does both of those things. Matt 0 Quote Link to comment Share on other sites More sharing options...
Bounce Posted January 7, 2009 Share Posted January 7, 2009 Could it automatically open a service outage? 0 Quote Link to comment Share on other sites More sharing options...
xandih Posted April 2, 2009 Share Posted April 2, 2009 Hello Matt Nice addon. I have suggestions: 1 - Create a field to exclude ports - Without this, I have to insert global ports on every server because one of then will ignore 1 port. 2 - Double check port before send the email (or other routine that will prevent false positives) 0 Quote Link to comment Share on other sites More sharing options...
JFSG Posted April 5, 2009 Share Posted April 5, 2009 Is there a way to tweak it for it to work on the client's side? 0 Quote Link to comment Share on other sites More sharing options...
moonsoft Posted April 8, 2009 Share Posted April 8, 2009 Im having a problem with this script, I have it setup to check the default port on ever server as 80 then have used the addittional ports to list other ports on other servers, reason being I have several other services on other boxes, then i specified an addittional notification e-mail, it doesn;t seem to be sending the addittional notification emails it will for the defaul ports but not for the addittional. Am I doing something wrong? Cron output shows nothing wrong 0 Quote Link to comment Share on other sites More sharing options...
xandih Posted April 9, 2009 Share Posted April 9, 2009 Hello Is just with me or the monitor can't reach port 25? All of my monitored servers is showing down the port 25, but this information is wrong. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 9, 2009 Share Posted April 9, 2009 Normally port 25 is blocked by the firewall 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.