<span class="ppt" id="_user_nagios-users@lists.sourceforge.net">
<p>Hi,</p>
<p>I am trying to monitor thresholds in certain RRDs. I have added my nagios command group to the cacti rra directory, this has allowed me to run the ./check_rrd.pl plugin as user statlow. However, nagios is reporting no output in the web interface. I was wondering if anyone could point me in the right direction?
</p>
<p><a href="mailto:statlow@t2:/usr/local/nagios/libexec$">statlow@t2:/usr/local/nagios/libexec$</a> ./check_rrd.pl -F /var/lib/cacti/rra/london_3_cpu1_167.rrd -w 20 -c 50 -a AVERAGE -v 3<br>OK Average cpu5 = 1</p>
<p>Permissions of cacti rra directory:</p>
<p>drwxrwx---  2 root ncmd 4096 2007-01-22 09:56 rra<br>ncmd group = statlow,nagios,www-data</p>
<p>#'check_rrd' command definition<br>define command{<br>        command_name    check_rrd.pl<br>        command_line    $USER1$/check_rrd.pl -F $ARG1$ -w $ARG2$ -c $ARG3$ -a $ARG4$ -v $ARG5$<br>        }</p>
<p>-rwxr-xr-x  1 root   root     7758 2007-01-12 14:02 check_rrd.pl</p>
<p>define service{<br>        use                             generic-service         ; Name of service template to use</p>
<div>        host_name                       London_1<br>        service_description             RRD<br>        is_volatile                     0<br>        check_period                    24x7<br>        max_check_attempts              3
<br>        normal_check_interval           5<br>        retry_check_interval            1<br>        contact_groups                  Administrators<br>        notification_interval           120<br>        notification_period             none
<br>        notification_options            c,r<br>        check_command                   check_rrd.pl!/var/lib/cacti/rra/london_3_cpu1_167.rrd!20!50!AVERAGE!3</div>
<div> </div>
<div>nagios web:</div>
<div>
<table class="status" width="100%" border="0">
<tbody>
<tr>
<td class="statusEven">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tbody>
<tr>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td class="statusEven" valign="center" align="left"><a href="http://t2.toranet.local/nagios/cgi-bin/extinfo.cgi?type=1&host=London_1"><font color="#800080">London_1</font></a></td></tr></tbody></table></td>
<td valign="center" align="right">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr><td><font color="#800080"></font></td></tr></tbody></table></td></tr></tbody></table></td>
<td class="statusBGCRITICAL">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tbody>
<tr>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td class="statusBGCRITICAL" valign="center" align="left"><a href="http://t2.toranet.local/nagios/cgi-bin/extinfo.cgi?type=2&host=London_1&service=RRD"><font color="#800080">RRD</font></a></td></tr></tbody></table>
</td>
<td class="statusBGCRITICAL" align="right">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr><td><font color="#800080"></font></td></tr></tbody></table></td></tr></tbody></table></td>
<td class="statusCRITICAL">CRITICAL</td>
<td class="statusBGCRITICAL" nowrap>22-01-2007 12:42:25</td>
<td class="statusBGCRITICAL" nowrap>0d 0h 44m 8s</td>
<td class="statusBGCRITICAL">3/3</td>
<td class="statusBGCRITICAL">(No output!) </td></tr></tbody></table></div>
<p>Thanks in advance.<br>Steve</p></span>