disk_check_smb ==> No Output !?

Pivert pivert_home at yahoo.fr
Tue Jan 7 22:11:26 CET 2003


I think so...


# 'check_disk_smb' command definition
define command{
        command_name    check_disk_smb
        command_line    $USER1$/check_disk_smb -H $HOSTADDRESS$ -s
$ARG1$ -u username -p password
        }

But I think here is the answer :

monitoringServer:~ # /usr/local/nagios/plugins/check_disk_smb -H
MYSERVER -s aShareOnTheServer -u username -p password
Can't locate utils.pm in @INC (@INC contains: nagios/plugins
/usr/lib/perl5/5.6.0/i586-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i586-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at /usr/local/nagios/plugins/check_disk_smb
line 29.
BEGIN failed--compilation aborted at
/usr/local/nagios/plugins/check_disk_smb line 29.

monitoringServer:~ # cd /usr/local/nagios/plugins/

monitoringServer:/usr/local/nagios/plugins # ./check_disk_smb -H
MYSERVER -s aSh
areOnTheServer -u username -p password
Disk ok - 21.45G (87%) free on \\MYSERVER\aShareOnTheServer
monitoringServer:/usr/local/nagios/plugins #

Le lun 06/01/2003 à 16:24, Carroll, Jim P [Contractor] a écrit :
> Is check_disk_smb properly defined in checkcommands.cfg?
> 
> jc
> 
> > -----Original Message-----
> > From: Pivert [mailto:pivert_home at yahoo.fr]
> > Sent: Friday, January 03, 2003 6:45 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] disk_check_smb ==> No Output !?
> > 
> > 
> > Hi !!
> > 
> > I have a verry strange problem with Nagios and this plugin. 
> > In nagios, I
> > have the plugin telling (No output!) :
> > 
> > [1041349454] SERVICE NOTIFICATION:
> > sysmsg;MyWindowsHost;DISK;CRITICAL;notify-by-email;(No output!)
> > 
> > And it I check the service manually :
> > 
> > eye:/usr/local/nagios/plugins # ./check_disk_smb -H MyWindowsHost -s
> > AShare -u smb_check_user -p smb_check_password
> > Disk ok - 21.45G (87%) free on \\MyWindowsHost\AShare
> > eye:/usr/local/nagios/plugins #
> > 
> > I tryed with the same user as nagios run without success..
> > 
> > Does anybody have an idea ?!
> > 
> > Thanks!!!
> > 
> > 
> > Pivert.
> > 
> > ___________________________________________________________
> > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> > Yahoo! Mail : http://fr.mail.yahoo.com
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list