ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Batch File Send Email If Ping Fails
    카테고리 없음 2020. 2. 27. 08:34

    A client has a Windows 7 PC in a remote location that they are remoting into to monitor some equipment. The PC and the cell data connection is on a UPS.

    Batch File Send Email If Ping Fails

    Send Email Using Batch File

    Batch file send email if ping fails on facebookSend

    Batch File To Ping Ip

    There is a Moxa serial-to-ethernet converter with an IP address that goes down when the turbines go down, so they would like an email to let them know when that happens. The monitoring software they use has been unsuccessful in sending an SMTP email, because they don't have a server through which to relay. And honestly, I have been having a really hard time making the SMTP settings on these pieces of equipment work correctly. They use Office 365, and I do not have access to the Administrator settings.Does anyone have any suggestions on what I could use to monitor the IP address of the converter and email somebody when it goes down? And if the solution uses SMTP, how do I make that work without offending the spam filters, since I don't have access to the Office 365 settings?

    If I did have access to Office 365, does it have a setting like Exchange where it will accept SMTP from a single IP address?I would appreciate any help you can give me. SMTP is eating my lunch this year. Doug (Power Admin) wrote:When you say you don't have the Office365 settings, I'm assuming that means you don't have a username/password to login with. That means you have to present mail as a legitimate mail server, which is hard to do when you're not a legitimate mail server!I recommend setting up a GMail account.

    Send your alert to GMail (you'll have username and password so you can connect via port 587 and be authenticated), and then have a rule in GMail to auto-forward to whomever you want.Doug, that idea sounds great, but a lot of this proprietary machine monitoring software doesn't even give an option for a user name and password.When I have access to the Exchange server, I have been able to allow unauthenticated SMTP relay from a single IP address. In this case, it would be the external IP address of the remote location.

    In this instance, there is no Exchange server, and I don't have access to the Office 365 Administrative console to see if there is a similar option. That's why I'm having to find a workaround.

    If I plug a Gmail account into that box, or even a little program like PingForLife, Google's server comes back requiring SSL or TLS. I like the forwarding idea, though. I admit I'm an SMTP moron. I hadn't even thought of going through Google. But then, I can't even get it to Google right now.

Designed by Tistory.