[EMAIL PROTECTED] wrote on 14/09/2006 19:14:52: > Does any know how to deal with these issues in this script? > > [EMAIL PROTECTED] /usr/nagios/libexec] 72# ./check_disk_smb -H > fileserver.mvalent.net -s Software -W MVALENT -w 5G -c 2G Use of > uninitialized value in concatenation (.) or string at ./check_disk_smb line > 61. Argument "2G" isn't numeric in numeric gt (>) at ./check_disk_smb line > 97. Argument "5G" isn't numeric in numeric gt (>) at ./check_disk_smb line > 97. Domain=[MVALENT] OS=[UNKNOWN] Server=[UNKNOWN] Disk ok - 14.16G (4%) > free on \\fileserver.mvalent.net\Software [EMAIL PROTECTED] > /usr/nagios/libexec] 73#
The arguments you're giving this script aren't all numeric: 5G is not a number that it can add together with another number. Try 5000000 for 5 Gigabytes etc.. rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list [email protected] 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
