Currently monitoring all disks by % used, and it works just fine.
problem arises, when service is applied to hosts with VERY large or small disks. as an example, most of the time 90% critical state is fine, but if disk is couple TB, then at 90% usage i still can have couple hundred GBs left, which is nothing to worry about.
So my question is: How to raise alert for SNMP monitored disks only if both conditions are met. Like raise an alert when disk space left is: "(< %) AND (< 1024MB)" ?
check_snmp_storage by % and MB left
Re: check_snmp_storage by % and MB left
You can make two service checks, one that checks by space and one that checks by percentage. Then make a BPI group that combines the two and only alerts if BOTH are in a failure state.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: check_snmp_storage by % and MB left
Thanks @eloyd for the help, much appreciated.
@911comp, if you need some instructions for setting up BPI, take a look at this manual, it has instructions and examples you can look at but you can run the BPI wizard if you like.
The wizard is a quick way to get yourself started.
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
@911comp, if you need some instructions for setting up BPI, take a look at this manual, it has instructions and examples you can look at but you can run the BPI wizard if you like.
The wizard is a quick way to get yourself started.
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_snmp_storage by % and MB left
never though of that. Thanks a lot guys!
-
kyang
Re: check_snmp_storage by % and MB left
Let us know if you have any more questions!
Or if we are able to close this thread.
Or if we are able to close this thread.
Re: check_snmp_storage by % and MB left
Oooooh, I hope we can close the thread! 
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: check_snmp_storage by % and MB left
@911comp, ready to lock it up?
Re: check_snmp_storage by % and MB left
yes, can be closed. thanks!