What replaces "Legacy" Folder Watch wizard, and Not Getting Perf Charts for Folder Watch Monitor

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gregbeyer
Posts: 172
Joined: Fri Sep 11, 2020 2:13 pm

What replaces "Legacy" Folder Watch wizard, and Not Getting Perf Charts for Folder Watch Monitor

Post by gregbeyer »

First, the "Folder Watch" wizard is described as "Legacy" and "Deprecated". If so, what wizard is now preferable? Or is there a new wizard in the works to replace it? I've looked through other wizards, do not find similar functionality.

Second, I created several new folder watchers, but unlike other checks, they are not producing performance charts. I need to watch trends of the size and file count in a folder over time. Is there something that needs to be done to a folder watch service to make it start generating charts? All my other charts are generating fine.

Thanks
jsimon
Posts: 318
Joined: Wed Aug 23, 2023 11:27 am

Re: What replaces "Legacy" Folder Watch wizard, and Not Getting Perf Charts for Folder Watch Monitor

Post by jsimon »

Hi Greg,

I would recommend taking a look at Nagios Exchange https://exchange.nagios.org/ for replacement functionality for the Folder Watch wizard at this point.

In alignment with your observation, it appears to us that that wizard is not functioning according to our standards, hence the deprecation. I have gone ahead and added a feature request to our development queue to address this but for now I believe Nagios Exchange is your best bet.
gregbeyer
Posts: 172
Joined: Fri Sep 11, 2020 2:13 pm

Re: What replaces "Legacy" Folder Watch wizard, and Not Getting Perf Charts for Folder Watch Monitor

Post by gregbeyer »

Well, I've looked through exchange already, don't find anything that replaces it. Wondering why Nagios would include a check that doesn't meet Nagios standards. Welp, a check, even it does not do perf charts is better than no check all, I suppose. Until there's something to replace it, a note on the wizard itself indicating that perf charts are not generated might be a good idea. I guess such a note could be added in the next release. Thanks for putting in the feature request.
kg2857
Posts: 363
Joined: Wed Apr 12, 2023 5:48 pm

Re: What replaces "Legacy" Folder Watch wizard, and Not Getting Perf Charts for Folder Watch Monitor

Post by kg2857 »

Maybe run the plugin w/ -h from the shell and see if there's a perfdata option. Wizards are just the start, not a final solution.
gregbeyer
Posts: 172
Joined: Fri Sep 11, 2020 2:13 pm

Re: What replaces "Legacy" Folder Watch wizard, and Not Getting Perf Charts for Folder Watch Monitor

Post by gregbeyer »

Thanks @kg2857, I ran it from shell, there are perfdata options. -f is included in the command of the checks created by the wizard

Threshold Checks and Performance Data options:

-f, --perfparse
Give number of files and file oldest file age in perfout
-w, --warn=STR[,STR[,STR[..]]]
Warning level(s) for number of files - must be a number
Warning values can have the following prefix modifiers:
> : warn if data is above this value (default)
< : warn if data is below this value
= : warn if data is equal to this value
! : warn if data is not equal to this value
~ : do not check this data (must be by itself)
^ : this disables checks that warning is less than critical
Threshold values can also be specified as range in two forms:
num1:num2 - warn if data is outside range i.e. if data<num1 or data>num2
@num1:num2 - warn if data is in range i.e. data>=num1 && data<=num2
-c, --crit=STR[,STR[,STR[..]]]
Critical level(s) (if more than one file spec, must have multiple values)
Critical values can have the same prefix modifiers as warning, except '^'
-a, --age[=WARN[,CRIT]]
Show file age if no WARN/CRIT threshold parameter specified.
Check to make sure files are not older than the specified threshold(s).
This number is in seconds. Also supports same extended spec as -w and -c
-s, --size[=WARN[,CRIT]]
Show file size if no WARN/CRIT threshold parameter specified.
Check to make sure files are not larger than the specified threshold(s).
This number is in octet/byte. Also supports same extended spec as -w and -c
-S, --sumsize[=WARN[,CRIT]]
Show sum of file sizes if no WARN/CRIT threshold parameter specified.
Check to make sure sum of file sizes are not larger than the specified threshold(s).
This number is in octet/byte. Also supports same extended spec as -w and -c

So I ran -h on several other plugin's are are producing performance graphs and find none that include an option to turn on performance graphs. So still no reason that I can see that this plugin would not produce graphs.
gregbeyer
Posts: 172
Joined: Fri Sep 11, 2020 2:13 pm

Re: What replaces "Legacy" Folder Watch wizard, and Not Getting Perf Charts for Folder Watch Monitor

Post by gregbeyer »

So I guess no way to get perf charts for a folder watcher?