Nagios 2.2, check_ifoperstatus running on OS X 10.4

Jones, Brian bjones at mcclainfinlon.com
Wed Apr 19 04:52:41 CEST 2006


I recently installed Nagios 2.2 onto a Mac G4 running OSX 10.4
Everything is working extremely well except for one service check based
on 'check_ifoperstatus'.  Inside the web interface for Nagios all these
service checks get (No Output!) returned.  Here is the configuration:
 
checkcommands.cfg has:
# 'check_ifoperstatus' command definition
define command{
        command_name    check_ifoperstatus
        command_line    $USER1$/check_ifoperstatus -H $HOSTADDRESS$ -k
$ARG1$ -C $ARG2$
        }

minimal.cfg has:
define service{
        name                            chkifoperstatus-service ; The
'name' of this service template
        active_checks_enabled           1       ; Active service checks
are enabled
        passive_checks_enabled          1       ; Passive service checks
are enabled/accepted
        parallelize_check               1       ; Active service checks
should be parallelized (disabling this can lead to major performance
problems)
        obsess_over_service             1       ; We should obsess over
this service (if necessary)
        check_freshness                 0       ; Default is to NOT
check service 'freshness'
        notifications_enabled           1       ; Service notifications
are enabled
        event_handler_enabled           1       ; Service event handler
is enabled
        flap_detection_enabled          1       ; Flap detection is
enabled
        failure_prediction_enabled      1       ; Failure prediction is
enabled
        process_perf_data               1       ; Process performance
data
        retain_status_information       1       ; Retain status
information across program restarts
        retain_nonstatus_information    1       ; Retain non-status
information across program restarts
        service_description             UPLINK
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        notification_interval           30
        notification_period             24x7
        notification_options            w,u,c,r
        register                        0       ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
        }
 
define service{
        use                             chkifoperstatus-service
        host_name                       Cisco_Switch_Solo
        contact_groups                  admins
        check_command                   check_ifoperstatus!4!mfread
<<<<--notice the command is 'check_ifoperstatus' and passing interface
index '4' and the community string 'mfread'
        }

nagios.cfg is configured to look to checkcommands.cfg for external
commands and this is working as all the other checks I am performing
operate perfectly.  
 
Has anyone else run across this problem, and if so, have any advice on
what I can do to fix it?
 
Thanks in advance for any help you can offer!
 
 
 
Brian Jones
IT Director
 
McClainFinlon Advertising
303-436-9400 Main
303-383-7200 Direct
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060418/98da5885/attachment.html>


More information about the Users mailing list