Page 3 of 6
Re: Plug-In Tutorials
Posted: Mon Feb 25, 2013 5:24 pm
by A.Cormack
I installed Lynx (As root).
But when running
Code: Select all
./check_apacherequests.pl -w 2 -c 3
and still got the same error (Just without the lynx bit)
Code: Select all
[root@localhost libexec]# ./check_apacherequests.pl -w 2 -c 3
sh: /usr/bin/lynx: No such file or directory
Argument "" isn't numeric in numeric ge (>=) at ./check_apacherequests.pl line 76.
OK - current apache requests | 'apache requests'=;2;3
[root@localhost libexec]#
Re: Plug-In Tutorials
Posted: Mon Feb 25, 2013 5:34 pm
by A.Cormack
If i do
Code: Select all
./check_apacherequests.pl -w >2 -c >3
Then I get no output at all, is that right?
Re: Plug-In Tutorials
Posted: Mon Feb 25, 2013 5:51 pm
by slansing
No, you should be getting the output you did two posts ago minus the no lynx error, and the issue within the script. Lmiltchev got the same error when he tested it and I will be testing it tomorrow to see what I get, methinks the plugin could be out dated and is not formatted correctly for current packages.
Re: Plug-In Tutorials
Posted: Mon Feb 25, 2013 8:13 pm
by A.Cormack
Ah really?... I hope not. Otherwise I have a feeling it will be for the other two plug-ins I've picked, which means a complete re-write of my project research methodology.
Re: Plug-In Tutorials
Posted: Tue Feb 26, 2013 8:43 am
by scottwilkerson
can you run the following and post the results
Re: Plug-In Tutorials
Posted: Tue Feb 26, 2013 11:41 am
by A.Cormack
Re: Plug-In Tutorials
Posted: Tue Feb 26, 2013 11:50 am
by slansing
Can you also run the following:
Once again it is possible the plugin is no longer functioning due to being outdated, as you do get output but errors along with it.
Re: Plug-In Tutorials
Posted: Tue Feb 26, 2013 11:56 am
by lmiltchev
Once again it is possible the plugin is no longer functioning due to being outdated, as you do get output but errors along with it.
Just to add to what slansing said - you can ask the developer of this plugin a question about the error that you are getting:
Code: Select all
Argument "" isn't numeric in numeric ge (>=) at ./check_apacherequests.pl line 76.
by posting on the Nagios Exchange:
http://exchange.nagios.org/directory/Pl ... st/details
Re: Plug-In Tutorials
Posted: Tue Feb 26, 2013 12:21 pm
by A.Cormack
Code: Select all
-rwxr-xr-x 1 root root 1334956 Aug 25 2012 /usr/bin/lynx
I was under the impression that the author no longer supports the application, which is why I sadly agree that the plug-in is no longer supported by Nagios. But I will take your advise and go post on the exchange now.
Once again, thanks for your help, great as always.
Re: Plug-In Tutorials
Posted: Tue Feb 26, 2013 12:57 pm
by lmiltchev
We always try to help, even when dealing with "non-official" (3rd party) plugins, however we cannot guarantee that these plugins will work well with nagios.
Posting on the Nagios Exchange could be helpful - even if the developer of this plugin doesn't answer your question, someone else, who uses the same plugin, and has faced the same issue might.