I'm working on getting a configuration script in place for check_3par. I've gone through some similar issues to another user that posted this thread.
http://support.nagios.com/forum/viewtop ... 16&t=22214
I'm a bit more perplexed though. When I run the requisite command line:
Code: Select all
/usr/local/nagios/libexec/check_3par 3par7400-1.FQDN /usr/local/nagios/libexec/3par7400.pwf check_pdA review of the temp file that it creates shows it's locking up at the certificate acceptance screen.
Code: Select all
The authenticity of the storage system cannot be established.
CLI Server Certificate
Issuer: CN=HP_3PAR 7400-1611722
Subject: CN=HP_3PAR 7400-1611722
SHA1 fingerprint: [FINGERPRINT CODE]
Validity: Not before: Feb 5 21:22:08 2015 GMT
Not after: Feb 4 21:22:08 2018 GMT
Warning: self signed certificate
Warning: unsupported certificate purpose
Warning: subject CN ("HP_3PAR 7400-1611722") does not match the system name ($
Continue connecting (yes/no)?Now upon digging some, I see that the 3PAR Cli created a file in my home directory:
~/.hp3par/excp
Why would the command line instance accept this but the system-run command not? Do I need to copy this file to a separate directory on the machine so that the auto-acceptance will carry over? It would seem like both a non-shell run command and a shell run command would use the same home directory, but let me know if I need to make a copy of this file to cover that possibility.
P.S. - The OS is Oracle Linux 6.5. I know it's not officially supported, but for this purpose, treat it as if it's normal RHEL.
Thanks!