Page 2 of 3

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Tue Feb 23, 2016 12:52 am
by murawweh.daher
Hi,
the below one for 1.3.2 with -e (exclude), i exclude NFS. there are few servers can't read /var or /export, so i exclude it and general service for /var or /export alone.

/usr/local/nagios/libexec/check_snmp_storage.pl -H server-name -C snmp-comm --v2c -e -m /arcdest1 --short=0,1 -w 90 -c 95 -f -q FixedDisk
OUTPUT: OK : (<90%) All selected storages | '/var/run'=0MB;56664;59812;0;62960 '/rocexp'=4845MB;46080;48640;0;51200 '/etc/mnttab'=0MB;0;0;0;0 '/rocra_directory'=880553MB;1127377;1190009;0;1252641 '/export'=0MB;135399;142921;0;150444 '/etc/svc/volatile'=0MB;56665;59813;0;62961 '/system/contract'=0MB;0;0;0;0 '/rocra'=14691MB;22565;23818;0;25072 '/apps'=20141MB;22555;23808;0;25061 '/vol'=0MB;0;0;0;0 '/internaldisk2'=243627MB;252032;266034;0;280036 '/export/home'=371MB;46080;48640;0;51200 '/'=46722MB;177449;187307;0;197166 '/etc/dfs/sharetab'=0MB;0;0;0;0 '/lib/libc.so.1'=46722MB;177449;187307;0;197166 '/proc'=0MB;0;0;0;0 '/system/object'=0MB;0;0;0;0 '/devices'=0MB;0;0;0;0 '/tmp'=0MB;56665;59813;0;62961

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Tue Feb 23, 2016 3:28 pm
by rkennedy
Can you also post the output for 1.3.3? I want to compare the specific results on your system.

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Tue Feb 23, 2016 3:55 pm
by murawweh.daher
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H server-name -C snmp-comm --v2c -e -m /arcdest1 --short=0,1 -w 90 -c 95 -f -q FixedDisk
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/libexec/check_snmp_storage_wizard.pl line 547.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/libexec/check_snmp_storage_wizard.pl line 548.
Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/libexec/check_snmp_storage_wizard.pl line 549.
Data not fully defined for storage /tmp : UNKNOWN

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Wed Feb 24, 2016 2:26 pm
by ssax
Please attach a copy of your 1.3.3 version so that I can compare it to mine, when I look at my code the line numbers do not match up to the errors, something may be different.

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Thu Feb 25, 2016 4:39 am
by murawweh.daher
Hi,

please find the attached.

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Thu Feb 25, 2016 6:19 pm
by ssax
It is identical to mine. Can you send me a copy of you 1.3.2 script, please?

Thank you

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Sun Feb 28, 2016 2:28 am
by murawweh.daher
Hi,

kindly find the attached.

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Mon Feb 29, 2016 1:35 pm
by ssax
Thank you

One of the other techs was saying that he though you had already resolved this with a script change, is that the case? If so, what did you change?

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Wed Mar 02, 2016 1:25 am
by murawweh.daher
Hi,

i used 1.3.2 instead of 1.3.3 and that solved my problem, but yesterday i test 1.3.3 again and insert (-o 5000) and worked. it seem the buffer size issue.

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Wed Mar 02, 2016 11:48 am
by rkennedy
Are we good to mark this thread as resolved?