Page 1 of 1

check_temp_ha7net - Authentication?

Posted: Wed Dec 11, 2013 5:39 pm
by tippy24
We're using the check_temp_ha7net script found at http://exchange.nagios.org/directory/Pl ... et/details.
The HA7net devices themselves are secure, requiring a username & password. What we can't figure out (from the script or the Perl lib) is where do we place the username and password to allow for this authentication!
If anyone has a clue, or can throw me a bone, I would really, really appreciate it.
Thank you,
tippy

Re: check_temp_ha7net - Authentication?

Posted: Wed Dec 11, 2013 11:34 pm
by scottwilkerson
This is a total shot in the dark, but being this connects to a URL, you can try adding it to the -H parameter like

Code: Select all

$USER1$/check_temp_ha7net.pl -H 'USERNAME:PASSWORD@HOSTNAME' -D device_id -w -c