Page 1 of 2

Clariion Plugin executes after 2 Enter press

Posted: Tue Dec 03, 2013 6:27 am
by Arsalan Ali
Hey everyone,
i've tried check_emc_clariion.pl plugin and came across this strange behaviour, while testing this plugin on the command line in linux server i have to press Enter key TWICE after writing down the command then it gives me the output. If i press only one enter it does nothing, courser just shifts to the next line thats all. now due to this issue i'm only getting one output in nagios and it is not updating/refreshing it after the specifc interval..

any ideas why it is happening.?
waiting for your kind response.

Re: Clariion Plugin executes after 2 Enter press

Posted: Tue Dec 03, 2013 11:56 am
by sreinhardt
How do you have the command and service defined in nagios configs?

Re: Clariion Plugin executes after 2 Enter press

Posted: Wed Dec 04, 2013 12:04 am
by Arsalan Ali
Well i haven't define the command or service yet, i am testing the command while executing it on the command line to see what the output comes. But after typing the command i have to press 2 times to get the output.

Re: Clariion Plugin executes after 2 Enter press

Posted: Wed Dec 04, 2013 12:09 am
by Arsalan Ali
for example
./check_emc_clariion.pl -H X.X.X.X --secfilepath /usr/lib/nagios/clariionsec/dev120/ -t disk

then after pressing Enter key, courser just goes to next line and nothing happens, but if we press enter twice then command executes with the correct output.

Re: Clariion Plugin executes after 2 Enter press

Posted: Wed Dec 04, 2013 2:16 pm
by tmcdonald
What perl version are you running?

perl -V

Re: Clariion Plugin executes after 2 Enter press

Posted: Thu Dec 05, 2013 1:52 am
by Arsalan Ali
perl5 (revision 5 version 8 subversion 8)

Re: Clariion Plugin executes after 2 Enter press

Posted: Thu Dec 05, 2013 1:49 pm
by slansing
Can you send a copy of the plugin you have on your nagios server via an attachment here?

Re: Clariion Plugin executes after 2 Enter press

Posted: Thu Feb 06, 2014 11:17 am
by v_sidana
Am facing the same issue...can someone kindly help urgently.

Re: Clariion Plugin executes after 2 Enter press

Posted: Thu Feb 06, 2014 11:20 am
by tmcdonald
v_sidana wrote:Am facing the same issue...can someone kindly help urgently.
Sure. Can you answer the questions we had asked the previous poster?

Re: Clariion Plugin executes after 2 Enter press

Posted: Thu Feb 06, 2014 11:28 am
by v_sidana
This time with attachment