Hi
I would like to get an alert when available disk space on my windows machine has been reduced by 10 GB in last 1 hour irrespective of the threshold.
Is it possible with Nagios?
Thanks in Advance.
Regard,
Ravi Kumar Vusa.
Getting alert when available disk space is reducing quickly
Re: Getting alert when available disk space is reducing quic
This is something you could certainly do within Nagios Core with the assistance of a third-party database (InfluxDB, MySQL, flat-file, SQLite, etc) but there's no simple solution or ready-made plugin that I know of. This would be a bit easier done with Nagios XI where a time-series database already exists and already collects the provided performance data for every compliant plugin, which would make writing a plugin to check trends over a period of time much easier.
Nagios Core is constructed much more in the style of black-box monitoring. What you're asking for is more in the style of white-box monitoring.
I'm a fan of how this Coursera video explains the differences between the two strategies:
https://www.coursera.org/learn/it-autom ... monitoring
Nagios Core is constructed much more in the style of black-box monitoring. What you're asking for is more in the style of white-box monitoring.
I'm a fan of how this Coursera video explains the differences between the two strategies:
https://www.coursera.org/learn/it-autom ... monitoring
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Getting alert when available disk space is reducing quic
Hi Ravi,
Did the above help with what you're looking to achieve? Let us know if you have any further questions regarding this.
Did the above help with what you're looking to achieve? Let us know if you have any further questions regarding this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Getting alert when available disk space is reducing quic
@mcapra is correct - you could do something like this with a flat file, but you'd need to get creative on your scripting / handling of persistent variables.
a simple way to accomplish this would be with a flat file, and a check running every 60m writing to it - then comparing the data from what it sees between now and last check.
a simple way to accomplish this would be with a flat file, and a check running every 60m writing to it - then comparing the data from what it sees between now and last check.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Getting alert when available disk space is reducing quic
you could even bring that data into nagios log server for a good comparison
Re: Getting alert when available disk space is reducing quic
https://exchange.nagios.org/directory/T ... pt/details
https://assets.nagios.com/downloads/nag ... inapi.html
https://assets.nagios.com/downloads/nag ... inapi.html
http://nagios-plugins.org/doc/guidelines.html
Are some useful documents to help get you started on creating custom plugins if you are inclined to go this route.
https://assets.nagios.com/downloads/nag ... inapi.html
https://assets.nagios.com/downloads/nag ... inapi.html
http://nagios-plugins.org/doc/guidelines.html
Are some useful documents to help get you started on creating custom plugins if you are inclined to go this route.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.