Warning with status null on BackupPC service

nadia kheffache nadiakheffache at yahoo.fr
Wed Sep 3 17:15:45 CEST 2008


hi ,

I jute reintall backuppc, i have no error when i backup. when i execut this command, i have no error:

bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v
BACKUPPC OK - (0/1) failures

But i have the warning on interface web of nagios:

Display Filters:Host Status Types: Pending | UpHost
 Properties:Any
Service Status Types: WarningService Properties: Not In Scheduled Downtime & Has Not Been Acknowledged & Active Checks Enabled


Service Status Details For All Hosts








Host Service Status Last Check Duration Attempt Status Information







localhost














BackupPC1









WARNING
09-03-2008 16:52:49
 0d  1h 58m 27s
4/4
(null) 
Event log:

09-03-2008 14:57:56]  SERVICE ALERT: localhost;BackupPC1;WARNING;HARD;4;(null)

[09-03-2008 14:56:56]  SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;3;(null)

[09-03-2008 14:55:56]  SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;2;(null)

[09-03-2008 14:54:56]  SERVICE ALERT: localhost;BackupPC1;WARNING;SOFT;1;(null)

Thank you



--- En date de : Mer 3.9.08, Alex Dehaini <alexdehaini at gmail.com> a écrit :
De: Alex Dehaini <alexdehaini at gmail.com>
Objet: Re: [Nagios-users] Warning with status null on BackupPC service
À: nadiakheffache at yahoo.fr, "Nagios Users Mailinglist" <nagios-users at lists.sourceforge.net>
Date: Mercredi 3 Septembre 2008, 11h22

Please install Compress::Zlib

Lex

On Wed, Sep 3, 2008 at 9:18 AM, nadia kheffache <nadiakheffache at yahoo.fr> wrote:


Hi Alex,

in command.cfg i have this:

# 'service-backuppc' command definition
define command{
        command_name    check_backuppc
        command_line    /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v

        }

when i execute this command whith nagios user in shell, i have this warning

bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -v
BACKUPPC CRITICAL - (192.168.0.1 (can't find Compress::Zlib), ) critical

bash-3.1$


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?

Options BackupPC:
bash-3.1$
 /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/check_backuppc -h
check_backuppc - 1.1.0
A Nagios plugin to check on BackupPC backup status.

Options:
  --hostname,-H      only check the specified host

  --exclude,-x       do not check the specified host
  --archive-only,-a  only check the archive hosts
  --backup-only,-b   only check the backup hosts
  --status-only,-s   only check backup status, omit connection failures that are

                     less than $Conf{FullPeriod} old
  --warning,-w       days old an errored host must be to cause a warning
  --critical,-c      number of days old an errored backup must be to be critical
 
 --reduce,-r        maximum number of failed hosts for severity reduction
  --verbose,-v       increase verbosity
  --version,-V       display plugin version
  --help,-h          display this message



Thank you

Nadia






localhost.cfg:
define service{
        use                             local-service
        host_name                       localhost
       
 service_description             BackupPC
        check_command                   check_backuppc
        notifications_enabled           0






--- En date de : Mer 3.9.08, Alex Dehaini <alexdehaini at gmail.com> a écrit :

De: Alex Dehaini <alexdehaini at gmail.com>
Objet: Re: [Nagios-users] Warning with status null on BackupPC service

À: nadiakheffache at yahoo.fr
Cc: nagios-users at lists.sourceforge.net
Date: Mercredi 3 Septembre 2008, 10h57


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.

Lex

On Wed, Sep 3, 2008 at 2:56 AM, nadia kheffache <nadiakheffache at yahoo.fr> wrote:




Hi,

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.


backuppc and nagios are intalleded on the same host, with CENTOs5(ditribution redhat)

thank you for your help

nadia






      
-------------------------------------------------------------------------

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge

Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________


Nagios-users mailing list

Nagios-users at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/nagios-users

::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.

::: Messages without supporting info will risk being sent to /dev/null



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com


Email - alexdehaini at gmail.com








      


-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdehaini at gmail.com






      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080903/e48088ff/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list