-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings,

        I've been trying to debug a problem I'm seeing on some (but not all)
of my servers.  Some quick background first.  I'm running icinga2
2.3.10 on CentOS 6.x systems.  The nagios-plugins package is currently
at version 2.0.3.  I do have a cluster setup, and all CentOS endpoints
are set up for command execution bridge mode.

        I'm using the command-plugins.conf as shipped with the icinga2 rpms.
 I've set up the check_procs service as follows :

apply Service "procs" {
  import "generic-service"

  check_command = "procs"
  command_endpoint = host.vars.remote_client

  if (host.vars.procs_warning) {
    vars.procs_warning = host.vars.procs_warning
  } else {
    vars.procs_warning = 700
  }

  if (host.vars.procs_critical) {
    vars.procs_critical = host.vars.procs_critical
  } else {
    vars.procs_critical = 800
  }

  assign where host.vars.remote_client
}

        As I understand it, the above definition should default to using
values of 700/800 for warning/critical unless defined within the host
definition.  And I can verify this behavior via the debuglog on each hos
t.

        However, Icinga is reporting warning and critical levels for some
hosts periodically.  When it does, I've noticed that the reported
performance data shows the warning/critical levels at 250/400.  Those
are the default levels set in command-plugins.conf.

        I have not been able to ascertain how this is happening.  The
debuglog on these hosts never shows a check_procs check without the
defined warning/critical levels I've defined.  There are no
check_procs entries in the debuglog on the satellite or master server
either.

        I'm not sure what else to try with respect to debugging this.  The
debuglog doesn't seem to show the output from a check other than the
exit value.  And the debuglog on the satellite/server doesn't seem to
show incoming data values from remote hosts.  Is there a way to enable
this level of detail so I can debug further?

Thanks,

- -- 
- ---------------------------
Jason 'XenoPhage' Frisvold
xenoph...@godshell.com
- ---------------------------

“Space,” it says, “is big. Really big. You just won’t believe how
vastly, hugely, mindbogglingly big it is. I mean, you may think it’s
a long way down the road to the chemist’s, but that’s just peanuts to
space.”
- - The Hitchhikers Guide to the Galaxy
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iEYEARECAAYFAlYBraoACgkQ8CjzPZyTUTTiWgCglhejesvc3IOUF3w/9Nt677xp
nB4An2nAEBQDB8cbVuF0hVAroqAf8VJ2
=RzUV
-----END PGP SIGNATURE-----
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to