nrpe help
Chandresh Suthar
chandresh.suthar at gmail.com
Thu Jan 18 17:27:55 CET 2007
hosts.cfg
define host{
use generic-host ; Name of host
template to use
host_name localhost
alias Solaris Server
address 127.0.0.1
check_command check-host-alive
max_check_attempts 10
notification_interval 120
notification_period 24x7
notification_options d,u,r
}
services.cfg
define service{
use generic-service ; Name of
service template to use
host_name localhost
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups nagios
notification_interval 120
notification_period 24x7
notification_options c,r
check_command check_ping!100.0,20%!500.0,60%
}
define service{
use generic-service
host_name localhost
service_description NRPE - check_load
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 5
contact_groups nagios
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command check_nrpe!check_load
}
On 1/18/07, Chandresh Suthar <chandresh.suthar at gmail.com> wrote:
>
> as a nagios user:
>
> bash-2.05$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_load
> OK - load average: 0.02, 0.02, 0.07|load1=0.016;15.000;30.000;0; load5=
> 0.016;10.000;25.000;0; load15=0.066;5.000;20.000;0;
>
> working fine.
>
>
> On 1/18/07, Chandresh Suthar <chandresh.suthar at gmail.com> wrote:
> >
> > I have one sun machine with Solaris 9. I have installed nagios and
> > nrpe. Nrpe works perfect on command prompt.
> >
> > root at localhost# ./check_nrpe -H localhost -c check_load
> > OK - load average: 0.08, 0.19, 0.20|load1=0.082;15.000;30.000;0; load5=
> > 0.188;10.000;25.000;0; load15=0.195;5.000;20.000;0;
> >
> > but on gui it shows "No output returned from plugin" .Also it doesn't
> > show any thing in logs.
> >
> > nrpe.cfg:
> >
> > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c
> > 30,25,20
> >
> > services.cfg
> >
> > define service{
> > use generic-service
> > host_name localhost
> > service_description NRPE - check_load
> > is_volatile 0
> > check_period 24x7
> > max_check_attempts 4
> > normal_check_interval 5
> > retry_check_interval 5
> > contact_groups nagios
> > notification_options w,u,c,r
> > notification_interval 960
> > notification_period 24x7
> > check_command check_nrpe!check_load
> > }
> >
> > I am not getting the problem.my nagios version is 1.3 and nrpe 2.6
> >
> > Thanks
> > Chandresh
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070118/f54c46f7/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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