FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 01-02-2008, 01:15 PM
Manuel Arostegui Ramirez
 
Default nagios with nrpe

On Wednesday 02 January 2008 15:00:13 Mad Unix wrote:
> I built my nagios server to monitor other servers on the net
> but facing problem with check_ping command on the screnn of nagios it shows
> --> check_ping: %s: Warning threshold must be integer or percentage!
> on the main server :
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name linux1
> service_description PING
> is_volatile 0
> check_period 24x7
> max_check_attempts 4
> normal_check_interval 5
> retry_check_interval 1
> contact_groups admins
> notification_options w,u,c,r
> notification_interval 960
> notification_period 24x7
> check_command
> check_nrpe!check_ping!100.0,20%!500.0,60%
> }
>
> on the client
> command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w
> $ARG2$ -c $ARG3$ -p 5
>
> --
> madunix

Forget about Nagios!!
It is much easier with Pandora FMS, http://pandora.sf.net

:-)

Manuel.

--
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 01-02-2008, 01:19 PM
Josh Miller
 
Default nagios with nrpe

Mad Unix wrote:

I built my nagios server to monitor other servers on the net
but facing problem with check_ping command on the screnn of nagios it shows
--> check_ping: %s: Warning threshold must be integer or percentage!
on the main server :

define service{
use generic-service ; Name of
service template to use
host_name linux1
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command
check_nrpe!check_ping!100.0,20%!500.0,60%
}

on the client
command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w $ARG2$
-c $ARG3$ -p 5


Run check_ping from the host in question and verify that the parameters
you give it work. If not, it will tell you from there and you can make
modifications to resolve this issue.


An example might be:

$USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1

(Why are you using NRPE to execute check_ping?)

HTH,

--
Joshua M. Miller - RHCE,VCP

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 01-02-2008, 03:24 PM
Shawn Wells
 
Default nagios with nrpe

try

check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5

Notice the -H $HOSTADDRESS$

--
Shawn D. Wells
Solutions Architect, Federal Team
swells@redhat.com
C: 443-534-0130



Mad Unix wrote:

I built my nagios server to monitor other servers on the net
but facing problem with check_ping command on the screnn of nagios it shows
--> check_ping: %s: Warning threshold must be integer or percentage!
on the main server :

define service{
use generic-service ; Name of
service template to use
host_name linux1
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command
check_nrpe!check_ping!100.0,20%!500.0,60%
}

on the client
command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w $ARG2$
-c $ARG3$ -p 5


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 12:57 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org