diff options
author | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-03-30 08:52:28 +0000 |
---|---|---|
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-03-30 08:52:28 +0000 |
commit | 0ff58b90631e9b62da23c4c9487d3d8d310f2d7f (patch) | |
tree | 9d74c96fed0cd8d4b4fb937961f0da4f3e3f6b74 /lib | |
parent | a1fea1eafd63ca47cc1227c2ba3e0264e56c6f0d (diff) | |
download | monitoring-plugins-0ff58b90631e9b62da23c4c9487d3d8d310f2d7f.tar.gz |
check_disk: added grouping functionality. see np-devel mail (2007-02-10)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1657 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils_disk.c | 1 | ||||
-rw-r--r-- | lib/utils_disk.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils_disk.c b/lib/utils_disk.c index fd768b20..877b80d9 100644 --- a/lib/utils_disk.c +++ b/lib/utils_disk.c @@ -61,6 +61,7 @@ np_add_parameter(struct parameter_list **list, const char *name) new_path->usedspace_percent = NULL; new_path->usedinodes_percent = NULL; new_path->freeinodes_percent = NULL; + new_path->group = NULL; if (current == NULL) { *list = new_path; diff --git a/lib/utils_disk.h b/lib/utils_disk.h index 55de9385..331c16d7 100644 --- a/lib/utils_disk.h +++ b/lib/utils_disk.h @@ -20,6 +20,7 @@ struct parameter_list thresholds *usedspace_percent; thresholds *usedinodes_percent; thresholds *freeinodes_percent; + char *group; struct mount_entry *best_match; struct parameter_list *name_next; }; |