[Nagiosplug-help] plugin : check_snmp_storage

greiffenberg at kingmedia.de greiffenberg at kingmedia.de
Thu Jun 5 15:57:24 CEST 2008


Are you sure you've got the most recent version?
See below:

nagios at monitoring:/usr/local/nagios/libexec> ./check_snmp_storage.pl -H 
localhost -C <SECRET> -m / -r -w 80% -c 90%
/: 34%used(4037MB/12037MB) (<80%) : OK
nagios at monitoring:/usr/local/nagios/libexec> ./check_snmp_storage.pl -H 
localhost -C <SECRET> -m / -r -w 80% -c 90% -G
/: 34%used(4GB/12GB) (<80%) : OK

nagios at monitoring:/usr/local/nagios/libexec> ./check_snmp_storage.pl -V
check_snmp_storage version : 1.3.3

/Dennis


"EXP1" <exp1 at celtipharm.com> wrote on 05.06.2008 16:27:40:

> Sorry, but i don’t have –G option :
> 
> # ./check_snmp_storage.pl -H <ipadress> -C CTPM -m ^[C]: -w 80 -c 90 -G
> Unknown option: G
> C:\ Label:SYSTEM  Serial Number d8482abd: 20%used(10204MB/51207MB) 
(<80%) : OK
> 
> 
> Help text : Usage: check_snmp_storage [-v] -H <host> -C 
> <snmp_community> [-2] | (-l login -x passwd) [-p <port>] -m <name in
> desc_oid> [-q storagetype] -w <warn_level> -c <crit_level> [-t 
> <timeout>] [-T pl|pu|bl|bu ] [-r] [-s] [-i] [-e] [-S 0|1[,1,<car>]]
> 
> I just have a –g option (and not –G) and when I try this one : # .
> /check_snmp_storage.pl -H <ipadress> -C CTPM -m ^[C]: -w 80 -c 90 -g
> unable to create '/usr/local/centreon/rrd/1_1.rrd' : creating 
> '/usr/local/centreon/rrd/1_1.rrd': Aucun fichier ou répertoire de ce 
type
> 
> 
> 
> De : nagiosplug-help-bounces at lists.sourceforge.net [mailto:
> nagiosplug-help-bounces at lists.sourceforge.net] De la part de 
> greiffenberg at kingmedia.de
> Envoyé : jeudi 5 juin 2008 15:38
> À : nagiosplug-help at lists.sourceforge.net
> Objet : Re: [Nagiosplug-help] plugin : check_snmp_storage
> 
> 
> Yes, it is. Just use the -G-option. that will provide the results in
> GB instead of MB. 
> 
> /Dennis 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080605/c030dcc8/attachment.html>


More information about the Help mailing list