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.
Clariion Plugin executes after 2 Enter press
-
Arsalan Ali
- Posts: 5
- Joined: Wed Jul 17, 2013 7:06 pm
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Clariion Plugin executes after 2 Enter press
How do you have the command and service defined in nagios configs?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
Arsalan Ali
- Posts: 5
- Joined: Wed Jul 17, 2013 7:06 pm
Re: Clariion Plugin executes after 2 Enter press
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.
-
Arsalan Ali
- Posts: 5
- Joined: Wed Jul 17, 2013 7:06 pm
Re: Clariion Plugin executes after 2 Enter press
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.
./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
What perl version are you running?
perl -V
perl -V
Former Nagios employee
-
Arsalan Ali
- Posts: 5
- Joined: Wed Jul 17, 2013 7:06 pm
Re: Clariion Plugin executes after 2 Enter press
perl5 (revision 5 version 8 subversion 8)
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Clariion Plugin executes after 2 Enter press
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
Am facing the same issue...can someone kindly help urgently.
Re: Clariion Plugin executes after 2 Enter press
Sure. Can you answer the questions we had asked the previous poster?v_sidana wrote:Am facing the same issue...can someone kindly help urgently.
Former Nagios employee
Re: Clariion Plugin executes after 2 Enter press
This time with attachment
You do not have the required permissions to view the files attached to this post.