Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
mikej1234
bymikej1234, July 11, 2013
I think this is a good script and I've already found it very useful. Took only a few minutes to configure.
However, because the user and password are in plain text and then used in the URLs provided in the email, I believe there is a security issue. It works as expected but I didn't want to see my user and password like this:
http://nagiosadmin:MySecretPassword@172.16.0.1/nagios/cgi-bin/cmd.cgi?cmd_typ=22&cmd_mod=2&host=mywebsite.com&service=URL&btnSubmit=Commit
I tweaked it to suit my needs.
Thanks for your help!
Mike
However, because the user and password are in plain text and then used in the URLs provided in the email, I believe there is a security issue. It works as expected but I didn't want to see my user and password like this:
http://nagiosadmin:MySecretPassword@172.16.0.1/nagios/cgi-bin/cmd.cgi?cmd_typ=22&cmd_mod=2&host=mywebsite.com&service=URL&btnSubmit=Commit
I tweaked it to suit my needs.
Thanks for your help!
Mike
bymikej1234, July 10, 2013
Hi, Can you please advise on how to run this on Ubuntu? When I run it as documented I get no result. This is also after confirming the location of awk is not in /bin/awk but in /usr/bin/awk (which was updated in the script).
It seems that the version of nagios I have also has a status.dat file, with no status.log file. Maybe I'm missing something here, but it seems different when installed on Ubuntu (or Debian).
It seems that the version of nagios I have also has a status.dat file, with no status.log file. Maybe I'm missing something here, but it seems different when installed on Ubuntu (or Debian).