Fwd: Services

Michael Gaskin mgaskin at jsi-corp.com
Thu Mar 25 19:48:53 CET 2004


Joe...

I was an idiot... If you notice in the checkcommand I made a mistake by
calling it $HOSTNAME$ rather than $HOSTADDRESS$... Just a dumb oversight
on my part.... 

I did as you suggested by the way, running it manually and thats how I
went, "O crap..."...

Thanks.

>>> Joe Rhett <jrhett at isite.net> 3/25/2004 10:41:34 AM >>>
Because it's not a nagios issue.  Processor utilization uses
'check_load'.
The other options use different commands, right?  So apparently
check_load
is trying to connect to the server in a different way.  Use a sniffer
to
figure out what the difference is, or read the docs.

You can also just run these by hand until you get check_load to work
properly and then add it back into the configuration.

On Wed, Mar 24, 2004 at 11:35:13AM -0800, Michael Gaskin wrote:
> I wonder if my question below met the criteria of "read the manual
> idiot..."  :)  Just looking for some reason why I am getting strange
> results.
> 
> Thanks.
> 
> >>> "Michael Gaskin" <mgaskin at jsi-corp.com> 3/23/2004 3:57:06 PM >>>
> Hi all...
> 
> I am getting: (removed date/time)
> 
> DS Open OK Directory Services Database is open (DS version 10410.98)

> PING OK - Packet loss = 0%, RTA = 0.17 ms 
> Free - SYS CRITICAL 3/3 Connection refused by host 
> Free - APPS OK 1/3 54876 MB (94%) free on volume APPS 
> Processor Utilization - 15 Minutes CRITICAL 3/3 Connection refused
by
> host 
> 
> -=-=-=-=-=
> 
> Question... Why would some services show a connection refused while
the
> others work?  Here's the services file:
> 
> ## CBSRV002
> 
> define service{
>         use                             generic-service        
>         host_name                       cbsrv002
>         service_description             PING
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           5
>         retry_check_interval            1
>         contact_groups                  novell-admins
>         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                       cbsrv002
>        service_description             DS Open
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           5
>        retry_check_interval            1
>        contact_groups                  novell-admins
>        notification_interval           240
>        notification_period             24x7
>        notification_options            c,r
>        check_command                   check_nwstat!DSDB            

>        }
> 
> define service{
>        use                             generic-service       
>        host_name                       cbsrv002
>        service_description             Processor Utilization - 15
> Minutes
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           5
>        retry_check_interval            1
>        contact_groups                  novell-admins
>        notification_interval           240
>        notification_period             24x7
>        notification_options            c,r
>        check_command                   check_load15!50!80           
>        }
> 
> define service{
>        use                             generic-service       
>        host_name                       cbsrv002
>        service_description             Percent Free - SYS
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           5
>        retry_check_interval            1
>        contact_groups                  novell-admins
>        notification_interval           240
>        notification_period             24x7
>        notification_options            c,r
>        check_command                   check_percent_used_sys!10!5 
>        }
> 
> define service{
>        use                             generic-service        
> 
>        host_name                       cbsrv002
>        service_description             Precent Free - APPS        
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           5
>        retry_check_interval            1
>        contact_groups                  novell-admins
>        notification_interval           240
>        notification_period             24x7
>        notification_options            c,r
>        check_command                   check_percent_used_apps!10!5
>        }
> 
> -=-=-=-
> 
> Here's the checkcommand text for the check_percent_used:
> 
> define command{
>         command_name    check_percent_used_sys
>         command_line    $USER1$/check_nwstat -H $HOSTNAME$ -v VPFSYS
-w
> $ARG1$ -c $ARG2$
>         }
> 
> define command{
>         command_name    check_percent_used_apps
>         command_line    $USER1$/check_nwstat -H $HOSTNAME$ -v
VPFAPPS
> -w $ARG1$ -c $ARG2A
>         }
> 
> *=-=-
> 
> By the way, the two above check commands work on other servers... As
> well as the services listed... I've got 17 servers configured with
> nearly the same text... (except for server name)...
> 
> Any clues would be appreciated.
> 
> Take Care...
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO
of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
> _______________________________________________
> 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
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO
of
> GenToo technologies. Learn everything from fundamentals to system
>
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> 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

-- 
Joe Rhett                                                      Chief
Geek
JRhett at Isite.Net                                      Isite Services,
Inc.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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