<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 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 href="http://192.168.0.1" target="_blank">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 href="mailto:alexdehaini@gmail.com" target="_blank">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 href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com</a>><br>Objet: Re: [Nagios-users] Warning with status null on BackupPC service<br>
À: <a href="mailto:nadiakheffache@yahoo.fr" target="_blank">nadiakheffache@yahoo.fr</a><br>Cc: <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">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" href="mailto:nadiakheffache@yahoo.fr" target="_blank">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" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>_______________________________________________<br>

Nagios-users mailing list<br>
<a rel="nofollow" href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a rel="nofollow" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">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" href="http://www.alexdehaini.com" target="_blank">www.alexdehaini.com</a><br>

Email - <a rel="nofollow" href="mailto:alexdehaini@gmail.com" target="_blank">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 href="http://www.alexdehaini.com">www.alexdehaini.com</a><br>Email - <a href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a><br>

</div>