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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
>
> I have one sun machine with Solaris 9. I have installed nagios and
> nrpe. Nrpe works perfect on command prompt.
>
> [EMAIL PROTECTED] ./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
>
-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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