<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv1962203374">hi ,<br><br>I jute reintall backuppc, i have no error when i backup. when i execut this command, i have no error:<br><br><span style="color: rgb(0, 0, 191); font-weight: bold;">bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v</span><br style="color: rgb(0, 0, 191); font-weight: bold;"><span style="color: rgb(0, 0, 191); font-weight: bold;">BACKUPPC OK - (0/1) failures</span><br><br>But i have the warning on interface web of nagios:<br><br><table border="0" width="100%"><tbody><tr><td align="left" valign="top" width="33%"><table class="filter" border="1" cellpadding="0" cellspacing="0"><tbody><tr><td class="filter"><table border="0" cellpadding="0" cellspacing="2"><tbody><tr><td colspan="2" class="filterTitle" align="left" valign="top">Display Filters:</td></tr><tr><td class="filterName" align="left"
 valign="top">Host Status Types:</td><td class="filterValue" align="left" valign="top"> Pending | Up</td></tr><tr><td class="filterName" align="left" valign="top">Host
 Properties:</td><td class="filterValue" align="left" valign="top">Any</td></tr>
<tr><td class="filterName" align="left" valign="top">Service Status Types:</td><td class="filterValue" align="left" valign="top"> Warning</td></tr><tr><td class="filterName" align="left" valign="top">Service Properties:</td><td class="filterValue" align="left" valign="top"> Not In Scheduled Downtime & Has Not Been Acknowledged & Active Checks Enabled</td></tr></tbody></table>
</td></tr></tbody></table>
</td><td align="center" valign="top" width="33%">
<div class="statusTitle" align="center">Service Status Details For All Hosts</div>
<br></td>
<td align="right" valign="top" width="33%"><br></td>
</tr>
</tbody></table>

<table class="status" border="0" width="100%"><tbody><tr>
<th class="status">Host <a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=1&sortoption=1"><img src="http://localhost/nagios/images/up.gif" alt="Sort by host name (ascending)" title="Sort by host name (ascending)" border="0"></a><a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=2&sortoption=1"><img src="http://localhost/nagios/images/down.gif" alt="Sort by host name (descending)" title="Sort by host name (descending)" border="0"></a></th><th class="status">Service <a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=1&sortoption=2"><img
 src="http://localhost/nagios/images/up.gif" alt="Sort by service name (ascending)" title="Sort by service name (ascending)" border="0"></a><a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=2&sortoption=2"><img src="http://localhost/nagios/images/down.gif" alt="Sort by service name (descending)" title="Sort by service name (descending)" border="0"></a></th><th class="status">Status <a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=1&sortoption=3"><img src="http://localhost/nagios/images/up.gif" alt="Sort by service status (ascending)" title="Sort by service status (ascending)" border="0"></a><a rel="nofollow" target="_blank"
 href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=2&sortoption=3"><img src="http://localhost/nagios/images/down.gif" alt="Sort by service status (descending)" title="Sort by service status (descending)" border="0"></a></th><th class="status">Last Check <a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=1&sortoption=4"><img src="http://localhost/nagios/images/up.gif" alt="Sort by last check time (ascending)" title="Sort by last check time (ascending)" border="0"></a><a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=2&sortoption=4"><img src="http://localhost/nagios/images/down.gif" alt="Sort by last check time
 (descending)" title="Sort by last check time (descending)" border="0"></a></th><th class="status">Duration <a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=1&sortoption=6"><img src="http://localhost/nagios/images/up.gif" alt="Sort by state duration
 (ascending)" title="Sort by state duration (ascending)" border="0"></a><a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=2&sortoption=6"><img src="http://localhost/nagios/images/down.gif" alt="Sort by state duration time (descending)" title="Sort by state duration time (descending)" border="0"></a></th><th class="status">Attempt <a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=1&sortoption=5"><img src="http://localhost/nagios/images/up.gif" alt="Sort by current attempt (ascending)" title="Sort by current attempt (ascending)" border="0"></a><a rel="nofollow" target="_blank"
 href="http://localhost/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3&serviceprops=42&sorttype=2&sortoption=5"><img src="http://localhost/nagios/images/down.gif" alt="Sort by
 current attempt (descending)" title="Sort by current attempt (descending)" border="0"></a></th><th class="status">Status Information</th>
</tr>
<tr>
<td class="statusEven"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td align="left">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td class="statusEven" align="left" valign="center"><a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/extinfo.cgi?type=1&host=localhost" title="127.0.0.1">localhost</a></td>
</tr>
</tbody></table>
</td>
<td align="right" valign="center">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
<td class="statusBGWARNING"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="left"><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td class="statusBGWARNING" align="left" valign="center"><a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&service=BackupPC1">BackupPC1</a></td></tr>
</tbody></table>
</td>
<td class="statusBGWARNING" align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td align="center" valign="center"><a rel="nofollow" target="_blank" href="http://localhost/nagios/cgi-bin/extinfo.cgi?type=2&host=localhost&service=BackupPC1"><img src="http://localhost/nagios/images/ndisabled.gif" alt="Notifications for this service have been disabled" title="Notifications for this service have been disabled" border="0" height="20" width="20"></a></td></tr>
</tbody></table>
</td>
</tr></tbody></table></td>
<td class="statusWARNING">WARNING</td>
<td class="statusBGWARNING" nowrap="nowrap">09-03-2008 16:52:49</td>
<td class="statusBGWARNING" nowrap="nowrap"> 0d  1h 58m 27s</td>
<td class="statusBGWARNING">4/4</td>
<td class="statusBGWARNING" valign="center">(null) </td></tr></tbody></table><br>Event log:<br><br>09-03-2008 14:57:56]  SERVICE ALERT: localhost;BackupPC1;WARNING;HARD;4;(null)<br clear="all">
<img src="http://localhost/nagios/images/warning.png" alt="Service Warning" title="Service Warning" align="left">[09-03-2008 14:56:56]  SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;3;(null)<br clear="all">
<img src="http://localhost/nagios/images/warning.png" alt="Service Warning" title="Service Warning" align="left">[09-03-2008 14:55:56]  SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;2;(null)<br clear="all">
<img src="http://localhost/nagios/images/warning.png" alt="Service Warning" title="Service Warning" align="left">[09-03-2008 14:54:56]  SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;1;(null)<br><br>Thank you<br><br><br><br>--- En date de : <b>Mer 3.9.08, Alex Dehaini <i><alexdehaini@gmail.com></i></b> a écrit :<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: Alex Dehaini <alexdehaini@gmail.com><br>Objet: Re: [Nagios-users] Warning with status null on BackupPC service<br>À: nadiakheffache@yahoo.fr, "Nagios Users Mailinglist" <nagios-users@lists.sourceforge.net><br>Date: Mercredi 3 Septembre 2008, 11h22<br><br><div id="yiv1473013982"><div dir="ltr">Please install Compress::Zlib<br><br>Lex<br><br><div class="gmail_quote">On Wed, Sep 3, 2008 at 9:18 AM, nadia kheffache <span dir="ltr"><<a rel="nofollow" target="_blank"
 href="mailto:nadiakheffache@yahoo.fr">nadiakheffache@yahoo.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hi Alex,<br><br>in command.cfg i have this:<br><br># 'service-backuppc' command definition<br>define command{<br>        command_name    check_backuppc<br>        command_line    /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v<br>
        }<br><br>when i execute this command whith nagios user in shell, i have this warning<br><br>bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v<br>BACKUPPC CRITICAL - (<a rel="nofollow" target="_blank"  href="http://192.168.0.1">192.168.0.1</a> (can't find Compress::Zlib), ) critical<br>
bash-3.1$<br><br><br>When i stop the service BackupPC, i have not status critical, just the same warning with yellow color? why do not change color in red when i stop the service?<br><br>Options BackupPC:<br>bash-3.1$
 /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -h<br>check_backuppc - 1.1.0<br>A Nagios plugin to check on BackupPC backup status.<br><br>Options:<br>  --hostname,-H      only check the specified host<br>
  --exclude,-x       do not check the specified host<br>  --archive-only,-a  only check the archive hosts<br>  --backup-only,-b   only check the backup hosts<br>  --status-only,-s   only check backup status, omit connection failures that are<br>
                     less than $Conf{FullPeriod} old<br>  --warning,-w       days old an errored host must be to cause a warning<br>  --critical,-c      number of days old an errored backup must be to be critical<br> 
 --reduce,-r        maximum number of failed hosts for severity reduction<br>  --verbose,-v       increase verbosity<br>  --version,-V       display plugin version<br>  --help,-h          display this message<br><br><br>
Thank you<br><br>Nadia<br><br><br><br><br><br><br>localhost.cfg:<br>define service{<br>        use                             local-service<br>        host_name                       localhost<br>       
 service_description             BackupPC<br>        check_command                   check_backuppc<br>        notifications_enabled           0<br><br><br><br><br><br><br>--- En date de : <b>Mer 3.9.08, Alex Dehaini <i><<a rel="nofollow" target="_blank" href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a>></i></b> a écrit :<br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: Alex Dehaini <<a rel="nofollow" target="_blank" href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a>><br>Objet: Re: [Nagios-users] Warning with status null on BackupPC service<br>
À: <a rel="nofollow" target="_blank" href="mailto:nadiakheffache@yahoo.fr">nadiakheffache@yahoo.fr</a><br>Cc: <a rel="nofollow" target="_blank" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>Date: Mercredi 3 Septembre 2008, 10h57<div>
<div></div><div class="Wj3C7c"><br><br><div><div dir="ltr">You need to give us more information
 my friend. Show us the check_backuppc command you are using. Run it from the CLI and give us the output.<br><br>Lex<br><br><div class="gmail_quote">On Wed, Sep 3, 2008 at 2:56 AM, nadia kheffache <span dir="ltr"><<a rel="nofollow" target="_blank" href="mailto:nadiakheffache@yahoo.fr">nadiakheffache@yahoo.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">

Hi,<br><br>I just installed nagios to monitoring backuppc service, i intalled check_backuppc, plugin for nagios, but i have only warning whith status information null, when i stop the backuppc service, i have not a critical status.<br>

backuppc and nagios are intalleded on the same host, with CENTOs5(ditribution redhat)<br><br>thank you for your help<br><br>nadia<br></td></tr></tbody></table><br>




      <br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a rel="nofollow" target="_blank" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>_______________________________________________<br>

Nagios-users mailing list<br>
<a rel="nofollow" target="_blank" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a rel="nofollow" target="_blank" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>Alex Dehaini<br>Developer<br>Site - <a rel="nofollow" target="_blank" href="http://www.alexdehaini.com">www.alexdehaini.com</a><br>

Email - <a rel="nofollow" target="_blank" href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a><br>
</div>
</div></div></div></blockquote></td></tr></tbody></table><br>




      </blockquote></div><br><br clear="all"><br>-- <br>Alex Dehaini<br>Developer<br>Site - <a rel="nofollow" target="_blank" href="http://www.alexdehaini.com">www.alexdehaini.com</a><br>Email - <a rel="nofollow" target="_blank" href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a><br>

</div>
</div></blockquote></div></td></tr></table><br>