mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
244 stars 94 forks source link

Icinga2 integration? #658

Open fireheadman opened 4 years ago

fireheadman commented 4 years ago

Unsure if you have anything to do with integration with Icinga2?

If there is any interest/connection, I'm having an issue where the WARN and CRIT thresholds for "none" are not being accepted when inserted together. I'd be happy to dump the contents from the icinga initial thread here.

https://community.icinga.com/t/nscp-local-uptime-warn-crit-not-accepted/3074

image

mintsoft commented 4 years ago

@fireheadman that's an icinga2 problem. Not sure exactly about the configuration method for that. However, guessing I'd suggest have you tried: vars.nscp_arguments = "warn=none","critical=none" ?

fireheadman commented 4 years ago

haven't explicitly spelled out "critical", but I know having 2 sets of enclosed parens like you have throws a configuration error in icinga. It expects a single set of parens around the value.

mintsoft commented 4 years ago

@fireheadman Ah, no idea then. If you could get the actual command line that it's trying to run, then maybe there'd be something obvious, but short of that ...