check_tablespace_size
Posted: Mon Feb 21, 2022 1:17 pm
Hello Team ,
Does anyone know how the calculation is done in the check_tablespace_size script https://github.com/angoca/monitor-db2-w ... space_size .
Because when I gave warning and critical value of 1 and 2 for testing I got an OK alert with the below message . I thought tweaking the thresholds would generate a critical alert .
[nagios@abc ~]$ /usr/local/nagios/libexec/check_by_ssh -o StrictHostKeyChecking=no -o LogLevel=ERROR -o UserKnownHostsFile=/dev/null -H hostname -l username -C "/home/username/nagios/check_tablespace_size -i '/home/db2inst1' -d 'XMETA' -n XMETA -w 1 -c 2"
Tablespace size is getting bigger (13% - Auto resize).|'Tablespace'=72351744B
Tablespace XMETA has allocated 500 MB and its watermark is at 69|'Allocated'=524288000B
'Watermark'=72351744B
Does anyone know how the calculation is done in the check_tablespace_size script https://github.com/angoca/monitor-db2-w ... space_size .
Because when I gave warning and critical value of 1 and 2 for testing I got an OK alert with the below message . I thought tweaking the thresholds would generate a critical alert .
[nagios@abc ~]$ /usr/local/nagios/libexec/check_by_ssh -o StrictHostKeyChecking=no -o LogLevel=ERROR -o UserKnownHostsFile=/dev/null -H hostname -l username -C "/home/username/nagios/check_tablespace_size -i '/home/db2inst1' -d 'XMETA' -n XMETA -w 1 -c 2"
Tablespace size is getting bigger (13% - Auto resize).|'Tablespace'=72351744B
Tablespace XMETA has allocated 500 MB and its watermark is at 69|'Allocated'=524288000B
'Watermark'=72351744B