On Monday 24 October 2016 at 22:37:22, Gerald Vogt wrote:
> On 24/10/2016 22:05, Antony Stone wrote:
> >
> > So, I'm trying to work out where the 10% and 20% default thresholds are
> > defined.
>
> Well, I would run this:
>
> # icinga2 object list -t CheckCommand -n disk
Yes, that's very useful - good to know (is that sort of stuff in the Icinga
docs?)
> And of course look at the definition in the mentioned file
> /usr/share/icinga2/include/command-plugins.conf for the exact definition.
Indeed - now that I know that's where it is, that works nicely :)
> > I'm trying to find a way to define the SSH-based checks using the same
> > thresholds as the standard checks
> Well, that's pretty straight forward as you have to use the "disk"
> definition and supplement it with the by_ssh definition. For instance
> like this:
<snip technical detail>
> This way you use the same definitions as "disk" for "by_ssh_disk" and
> can override anything you like, e.g.:
<snip more useful stuff>
> Which would use "disk" for the local (icinga) host and by_ssh_disk for
> all other hosts.
>
> Hope this helps...
Yes - that looks like some excellent guidance (worthy of putting in the more
advanced docs); however it's late here now, so I'll try it out tomorrow and
report back - success or fail :)
Thanks a lot,
Antony.
--
Python is executable pseudocode.
Perl is executable line noise.
Please reply to the list;
please *don't* CC me.
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users