That "No Output" Error

ECJ jakosalem at telpacific.com.au
Fri Apr 21 04:33:16 CEST 2006


Well I'll be damned!
That's it! I just needed to add the full path to perl in the command_line
on  the checkcommands.cfg file. Now it works like a charm.

Now my entry in the checkcommands.cfg file looks like this:
define command{
         command_name    check_win_mem
         command_line    /usr/bin/perl
/usr/lib/nagios/plugins/check_win_mem.pl $HOSTADDRESS$ $ARG1$
$ARG2$ $ARG3$
         }
Thanks a lot Bill!

> Edward,
>
>           Some quick check the power type questions:
>           Does it work as the user nagios?
>           Ive had to put the /path/to/perl in the check_command to get
> some of the perl stuff to work back in the 1.3 age. Probably could
> have fixed it with pathes but it was just clearer to put it in the
> check command.
>
> Bill
>
>
> On 4/20/06, ECJ <jakosalem at telpacific.com.au> wrote:
>> Hello all,
>>
>> I have been googling for the last week for this 'No Output' problem.
>> Sadly
>> I can't find any helpful solution so I am bringing this up to the list.
>> I
>> am running Nagios 1.2 to monitor routers and Unix/Linux servers for
>> sometime now without any issue. But a few days ago, I added an entry to
>> my
>> config files to monitor a Windows server. The only correct thing I can
>> see
>> is that it sees that the server is up. Other than that, all I see are
>> 'No
>> output' critical errors. The other thing is that I see a valid output
>> using command line.
>>
>> Here is my entry in the checkcommands.cfg file:
>> define command{
>>         command_name    check_win_mem
>>         command_line    /usr/lib/nagios/plugins/check_win_mem.pl
>> $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$
>>         }
>>
>> And here is the entry in the hosts.cfg file:
>> define service{
>>         use                     check-windows-generic
>>         host_name               my-server
>>         contact_groups          windows_admin
>>         service_description     MEM Usage
>>         check_command           check_win_mem!public!50!90!
>>         }
>>
>> When I run
>> /usr/lib/nagios/plugins/check_win_mem.pl <IP> <community> <warn> <crit>,
>> it gives me a useful output. But when it comes to the web interface, I
>> only see 'No output.' I know this can be done but just don't know what
>> else to do. I hope someone can help me out.
>>
>> Thanks a heap in advance!!!
>>
>> Cheers,
>>
>> Edward
>>
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



Cheers,

Edward



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list