this statement controls drive monitoring see below
define service{
use generic-service
host_name mail-ahgserver
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l C -w 80 -c 90
notification_interval 1440
notification_options w,r
notification_period work-holiday
servicegroups drivespace
would something like see below work
define service{
use generic-service
host_name mail-ahgserver
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l C:\Windows\System32\Logfiles\ W3svc -w 80 -c 90
notification_interval 1440
notification_options w,r
notification_period work-holiday
servicegroups drivespace
Or am I totally off and need an entirely different command?
I'm coming in cold and am attempting to get used to nagios
Is it possible to monitor space on a subdirectory of c:\
-
billperrotta
- Posts: 115
- Joined: Fri Feb 21, 2014 11:44 am
Re: Is it possible to monitor space on a subdirectory of c:\
Directories themselves don't really have "space" in the sense that a disk has unless you're using quotas in Windows.
Former Nagios employee
-
billperrotta
- Posts: 115
- Joined: Fri Feb 21, 2014 11:44 am
Re: Is it possible to monitor space on a subdirectory of c:\
So if I do not enable windows disk quotas in otherwords there is no way to monitor the space in a subdirectory of c: ie "c:\programfiles" with nagios?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Is it possible to monitor space on a subdirectory of c:\
I don't believe you can with that plugin, it may be possible but due to how directories work it may not be, you can always take a peek at custom plugins on the exchange:
exchange.nagios.com
exchange.nagios.com