Page 2 of 2
Re: Clariion Plugin executes after 2 Enter press
Posted: Thu Feb 06, 2014 11:30 am
by tmcdonald
And the other questions?
sreinhardt wrote:How do you have the command and service defined in nagios configs?
tmcdonald wrote:What perl version are you running?
perl -V
Re: Clariion Plugin executes after 2 Enter press
Posted: Fri Feb 07, 2014 5:51 am
by v_sidana
I got to the root cause of issue but still not fix.
Issue is happening because of certificate warning when naviseccli is run :
Unable to validate the identity of the server. There are issues with the certificate presented.
Only import this certificate if you have reason to believe it was sent by a trusted source.
Certificate details:
Subject: OU=CLARiiON,O=EMC Corporation,L=Southboro,ST=Massachusetts,C=US,CN=SP1B,CN=172.230.20.11
Issuer: OU=CLARiiON,O=EMC Corporation,L=Southboro,ST=Massachusetts,C=US,CN=SP1B,CN=172.230.20.11
Serial#: 00
Valid From: 20111201183831Z
Valid To: 20261127183831Z
Would you like to [1]Accept the certificate for this session, [3] Reject the certificate?
Please input your selection(The default selection is [1]):
This is due to NAT'ing setup done for this device. Does anyone knows a way of getting naviseccli to silently ignore this warning. I tried passing echo 1 via pipe. It works well in cmd line but not working properly when put in services/command description via nagios
Re: Clariion Plugin executes after 2 Enter press
Posted: Fri Feb 07, 2014 11:43 am
by sreinhardt
This is not due to a nat issue, but due to a self assigned certificate on this device. If you created the certificate, I would suggest just importing it permanately. The echoing likely is not working as nagios does not really use a true tty like echo would expect.