Both the options, warning-space-usage and critical-space-usage, should be able to be set as the default sysadmin user, but as you appear to have found don't set correctly unless you are in SE mode. This I believe is a bug which I'll be raising with our engineering team shortly.
For example:
=================================================
sysadmin@dd4200# filesys option show warning-space-usage
warning-space-usage percentage is: 50
sysadmin@dd4200# filesys option set warning-space-usage 60
sysadmin@dd4200# filesys option show warning-space-usage
warning-space-usage percentage is: 50
=================================================
The recommendation is to set the critical-space-usage percentage higher than the warning-space-usage percentage.
However once the thresholds are exceeded you should find an alert of type WARNING for the warning-space-usage and a CRITICAL alert for the critical-space-usage. These should be no different to a normal alert, so once they are triggered an email/SNMP trap etc should be sent, depending upon your configuration. You should also see the alerts in the 'alerts show current' command once they are triggered. However I've yet to test this fully yet, so it could be that the bug I mention above is causing them to not be generated correctly.
I will update you once I have feedback from our engineering team.
Our engineering team have confirmed this isn't working as expected and is a bug. I'm waiting for further confirmation as to the release that this fixed is planned for.
richbinstead
62 Posts
801
0
Posted July 7th, 2016 05:00
Hi ayas,
Both the options, warning-space-usage and critical-space-usage, should be able to be set as the default sysadmin user, but as you appear to have found don't set correctly unless you are in SE mode. This I believe is a bug which I'll be raising with our engineering team shortly.
For example:
=================================================
sysadmin@dd4200# filesys option show warning-space-usage
warning-space-usage percentage is: 50
sysadmin@dd4200# filesys option set warning-space-usage 60
sysadmin@dd4200# filesys option show warning-space-usage
warning-space-usage percentage is: 50
=================================================
The recommendation is to set the critical-space-usage percentage higher than the warning-space-usage percentage.
However once the thresholds are exceeded you should find an alert of type WARNING for the warning-space-usage and a CRITICAL alert for the critical-space-usage. These should be no different to a normal alert, so once they are triggered an email/SNMP trap etc should be sent, depending upon your configuration. You should also see the alerts in the 'alerts show current' command once they are triggered. However I've yet to test this fully yet, so it could be that the bug I mention above is causing them to not be generated correctly.
I will update you once I have feedback from our engineering team.
cheers, Rich.