Can someone provide me a link or a method of getting the values of the plugs in configured by default in Nagios.
For example:
Examples:
check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p /
Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB
check_disk -w 100 -c 50 -C -w 1000 -c 500 -g sidDATA -r '^/oracle/SID/data.*$'
Checks all filesystems not matching -r at 100M and 50M. The fs matching the -r regex
are grouped which means the freespace thresholds are applied to all disks together
check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar
Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 100M/50M
I need to provide these values for a SOX Audit. I tried to open the plugins using VI but they're all distorted.
Thanks in advance.
Nagios Plug-in default values
Re: Nagios Plug-in default values
The plugins you viewed were compiled binaries so they will look like garbage if opened in a text editor.
In order to find the arguments to the plugins, you will need to look at their command definitions and the associated services that use them. commands.cfg will contain the "skeleton" for the check, and the appropriate entry in your services file will contain the details (what arguments to pass).
In order to find the arguments to the plugins, you will need to look at their command definitions and the associated services that use them. commands.cfg will contain the "skeleton" for the check, and the appropriate entry in your services file will contain the details (what arguments to pass).
Former Nagios employee
Re: Nagios Plug-in default values
You can also have Nagios do some of the reporting for you. Go to your Nagios dashboard and scroll all the way to the bottom on the left-hand navigation page. Find "Configuration" and select "Services" from the pull-down. Click Select.
At this point, you have a list of all services plus the check command (including parameters), frequency, check period, notification options, and a lot more. You can filter this list with the "Show only services named or on host" box, update it, and then print it out if you're so inclined.
At this point, you have a list of all services plus the check command (including parameters), frequency, check period, notification options, and a lot more. You can filter this list with the "Show only services named or on host" box, update it, and then print it out if you're so inclined.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Nagios Plug-in default values
Do you have any further follow up OP, or should we close this thread?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.