check_temp_ha7net - Authentication?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
tippy24
Posts: 4
Joined: Mon Oct 28, 2013 11:50 am

check_temp_ha7net - Authentication?

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_temp_ha7net - Authentication?

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked