Page 1 of 1

Responding to alerts via our phones

Posted: Tue Sep 26, 2017 11:30 am
by eddiez
There is a need for our on-call and others while not in the office to acknowledge alerts via phone. When we try that the message "cannot open page because server cannot be found". Is there a way to do this.

Thanks,

Ed

Re: Responding to alerts via our phones

Posted: Tue Sep 26, 2017 12:28 pm
by tacolover101
you need to put Nagios in your DMZ (if you have one), and then setup a port forward to port 80/443. (would recommend going over SSL if you are not already)

Re: Responding to alerts via our phones

Posted: Tue Sep 26, 2017 3:48 pm
by dwhitfield
@tacolover101 gave a good example of a way to fix this.

It's possible there's a DNS issue, firewall issue, or that you just "need" a publicly routeable IP. Ultimately, how you do this is going to be up to your security and/or network teams, but it certainly can be done. Ultimately, Nagios XI (and Nagios Core) are just web applications.

Re: Responding to alerts via our phones

Posted: Wed Sep 27, 2017 12:36 pm
by tacolover101
Another solution is using something such as slack, and creating a bot that references Nagios's cmd.cgi to acknowledge through chat commands.

Re: Responding to alerts via our phones

Posted: Wed Sep 27, 2017 2:51 pm
by dwhitfield
@eddiez, did you have any other questions or comments?

One thing that wasn't mentioned is that it could be that the DNS is only set locally, but the IP address is actually open to the Internet. You could just try changing the URL on your phone and see if that works. I suspect it won't, but there's a chance.