[Nagiosplug-devel] [ nagiosplug-Bugs-788142 ] check_ms_spooler fails with splice error

SourceForge.net noreply at sourceforge.net
Fri Aug 15 01:40:25 CEST 2003


Bugs item #788142, was opened at 2003-08-13 15:56
Message generated for change (Comment added) made by stevehan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=788142&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Steve Hanselman (stevehan)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ms_spooler fails with splice error

Initial Comment:
This is in release 1.3.1

splice() offset past end of array 
at ./check_ms_spooler.pl line 319.

This is possibly due to us having service definitions 
without descriptions:

        Sharename      Type      Comment
        ---------      ----      -------
        NETLOGON       Disk      Logon server share 
        ADMIN$         Disk      Remote Admin
        REPL$          Disk      
        IPC$           IPC       Remote IPC
        CDrom          Disk      
        C$             Disk      Default share
        croot          Disk      
        SQL_Backups    Disk      
        E$             Disk      Default share
        ExchInstall    Disk      
        PCCommon       Disk      
        connect$       Disk      "Access to gateway 
connectors"
        G$             Disk      Default share
        Roaming        Disk      
        BackupExec     Disk      
        Eroot          Disk      
        Address        Disk      "Access to address objects"
        Add-ins        Disk      "Access to EDK objects"
        HP8100         Printer   HP LaserJet 8100 Series 
PCL 5e
        GFIMDat        Disk      
        MessDat1       Disk      
        ACT Database   Disk      
        Technical      Disk      
        ACT Reports    Disk      
        tracking.log   Disk      "Exchange message tracking 
logs"
        SourceSafe     Disk      
        Resources      Disk      "Event logging files"
        MessDat        Disk      
        print$         Disk      Printer Drivers
        Accounts       Disk      
        Homes          Disk      
        XeroxPha       Printer   Xerox Phaser 1235
 
        Server               Comment
        ---------            -------
        BDLTECH16            
        BDLTECH7             
        DECSERVER            Brendata Backup Domain 
Controller & Test Server
        LINUX2               (mailgate) Samba 1.9.16p11
        LINUX3               Samba Server on Linux3
        PLUTO                Samba 2.0.3
        PRODNTSC1            Brendata Domain Controller
        PRODNTSC2            
        SALES1               
        SALES2               
        SALES3               
        SALES4               
        SALESXP              
        TECH-PAUL            
        TECH-RICHARD         
        TECH5-XP             Tech5-XP
 
        Workgroup            Master
        ---------            -------
        BRENDATA             PRODNTSC1

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

>Comment By: Steve Hanselman (stevehan)
Date: 2003-08-15 07:46

Message:
Logged In: YES 
user_id=521347

The error was due to there being no entries on the print
queue, but the real error that was causing the plugin to
fail was the fact that it did not specify the inc location
for the utils.pm include:

use lib '/usr/local/nagios/libexec/' ;

Added this and it worked.

There is also an issue with check_wins.pl in that it used
the old netsaint path (which happened to be valid on our
system), so appeared to work, but this needs changing as well.



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=788142&group_id=29880




More information about the Devel mailing list