<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 7.00.5112.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=015294402-19042006><FONT face=Arial size=2>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:</FONT></SPAN></DIV>
<DIV><SPAN class=015294402-19042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015294402-19042006><FONT face=Arial size=2>checkcommands.cfg
has:</FONT></SPAN></DIV>
<DIV><SPAN class=015294402-19042006><FONT face=Arial size=2>#
'check_ifoperstatus' command definition<BR>define
command{<BR>
command_name
check_ifoperstatus<BR>
command_line $USER1$/check_ifoperstatus -H $HOSTADDRESS$ -k
$ARG1$ -C $ARG2$<BR>
}<BR></DIV></FONT></SPAN>
<DIV><FONT face=Arial size=2><SPAN class=015294402-19042006>minimal.cfg
has:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=015294402-19042006>define
service{<BR>
name
chkifoperstatus-service ; The 'name' of this service
template<BR>
active_checks_enabled
1 ; Active service checks are
enabled<BR>
passive_checks_enabled
1 ; Passive service checks are
enabled/accepted<BR>
parallelize_check
1 ; Active service checks should be
parallelized (disabling this can lead to major performance
problems)<BR>
obsess_over_service
1 ; We should obsess over this service (if
necessary)<BR>
check_freshness
0 ; Default is to NOT check service
'freshness'<BR>
notifications_enabled
1 ; Service notifications are
enabled<BR>
event_handler_enabled
1 ; Service event handler is
enabled<BR>
flap_detection_enabled
1 ; Flap detection is
enabled<BR>
failure_prediction_enabled
1 ; Failure prediction is
enabled<BR>
process_perf_data
1 ; Process performance
data<BR>
retain_status_information
1 ; Retain status information across program
restarts<BR>
retain_nonstatus_information
1 ; Retain non-status information across
program restarts<BR>
service_description
UPLINK<BR>
is_volatile
0<BR>
check_period
24x7<BR>
max_check_attempts
3<BR>
normal_check_interval
3<BR>
retry_check_interval
1<BR>
notification_interval
30<BR>
notification_period
24x7<BR>
notification_options
w,u,c,r<BR>
register
0 ; DONT REGISTER THIS DEFINITION - ITS NOT
A REAL SERVICE, JUST A TEMPLATE!<BR>
}</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=015294402-19042006>define
service{<BR>
use
chkifoperstatus-service<BR>
host_name
Cisco_Switch_Solo<BR>
contact_groups
admins<BR>
check_command
check_ifoperstatus!4!mfread <<<<--notice the command is
'check_ifoperstatus' and passing interface index '4' and the community
string 'mfread'<BR>
}<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=015294402-19042006>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.
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=015294402-19042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=015294402-19042006>Has anyone else run
across this problem, and if so, have any advice on what I can do to fix
it?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=015294402-19042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=015294402-19042006>Thanks in advance
for any help you can offer!</DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>Brian Jones</FONT></DIV>
<DIV align=left><FONT face=Arial size=1>IT Director</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT size=2><FONT face=Arial><FONT color=#ff0000>Mc</FONT><FONT
color=#ff6633>Clain</FONT><FONT color=#008000>Finlon</FONT> <FONT
color=#808080>Advertising</FONT></FONT></FONT></DIV>
<DIV align=left><FONT face=Arial size=1>303-436-9400 Main</FONT></DIV>
<DIV align=left><FONT face=Arial size=1>303-383-7200 Direct</FONT></DIV>
<DIV> </DIV></BODY></HTML>