AJT1 Posted December 8, 2009 Posted December 8, 2009 Does anyone have a ping utility that can keep pinging an ip address, perhaps every 15 minutes and send an email if a reply is received. I'm trying to find out when a device is being plugged into the network. Any other way of doing it would also be appreciated.
mattx Posted December 8, 2009 Posted December 8, 2009 Does anyone have a ping utility that can keep pinging an ip address, perhaps every 15 minutes and send an email if a reply is received. I'm trying to find out when a device is being plugged into the network. Any other way of doing it would also be appreciated. I did a no ping utility you could loop: http://www.mattmarsh.co.uk/ - click on the no ping page.
plexer Posted December 8, 2009 Posted December 8, 2009 Ozan's my little server monitor could check this and much much more. OP Software - Solutions for Education Ben
AJT1 Posted December 8, 2009 Author Posted December 8, 2009 Nagios. Yeah got that already monitoring all the systems, but I want it the other way round instead of sending an email when a host goes down, I want it to send it when a host goes up, suppose I could just tell it to send a down message once then it will send a message when it comes back up. Should of thought of that
AJT1 Posted December 8, 2009 Author Posted December 8, 2009 I did a no ping utility you could loop: http://www.mattmarsh.co.uk/ - click on the no ping page. Again that would be useful if it kept trying to ping, then said ping on ...... and the time Or am I missing something?
AJT1 Posted December 8, 2009 Author Posted December 8, 2009 Basically I want an email when a certain device becomes active on the network. (I have the IP address of the device)
Guest TheLibrarian Posted December 8, 2009 Posted December 8, 2009 Very good little utility, has a completely free mode too: Server monitoring tools | Monitoring network software. No idea if it's better or worse than Ozan's my little server monitor, it's just my recommendation because I've used it.
Ignatius Posted December 8, 2009 Posted December 8, 2009 But would this be any good to you as part of your script? Command Line SMTP Mailer for Windows That's a nice utility which is easy to use. I've looked at blat.exe but it turned out to be so complicated that I decided to abandon my project. Maybe I'll resurrect it again using bmail.exe.
mattx Posted December 8, 2009 Posted December 8, 2009 (edited) That's a nice utility which is easy to use. I've looked at blat.exe but it turned out to be so complicated that I decided to abandon my project. Maybe I'll resurrect it again using bmail.exe. Blat complicated ? Pi55 easy to use in my opinion. Example: blat -body "No Ping Automated E-mail - see attached log file" -to [email protected] -cc [email protected] -subject "No Ping Report" -server smtp.blueyonder.co.uk -u USERNAME -pw PASSWORD -f [email protected] -attachi "E:\CMDs\no ping log.txt" Edited December 8, 2009 by mattx 1
Ignatius Posted December 8, 2009 Posted December 8, 2009 OK Matt - but just look at the various switches available in blat.exe compared with bmail.exe! I realise it means that blat.exe is more flexible than bmail.exe in what it can do. I just tried the line that you provided (making the relevant changes) and I got it to work. Goodness knows how many times I tried various permutations before.
mattx Posted December 8, 2009 Posted December 8, 2009 OK Matt - but just look at the various switches available in blat.exe compared with bmail.exe! I realise it means that blat.exe is more flexible than bmail.exe in what it can do. I just tried the line that you provided (making the relevant changes) and I got it to work. Goodness knows how many times I tried various permutations before. Hey, at least you got it to work - that's the main thing. It's onwards and upwards now !!
MatthewL Posted December 8, 2009 Posted December 8, 2009 We use a bit of software called ping utility, it takes 6 minutes to cycle our 170 devices it monitors, mainly our firewalls and a select few servers, can often come back to some 1000 plus emails after the weekend if they have been doing work at one of our sites. I will dig the details out of it later.
powdarrmonkey Posted December 9, 2009 Posted December 9, 2009 Yeah got that already monitoring all the systems, but I want it the other way round instead of sending an email when a host goes down, I want it to send it when a host goes up, suppose I could just tell it to send a down message once then it will send a message when it comes back up. Should of thought of that It's the recovery event you want to alert on in this case. 1
AJT1 Posted December 9, 2009 Author Posted December 9, 2009 It's the recovery event you want to alert on in this case. yep cheers, I think everyone else suggestions are not looking at recovery but failures.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now