-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm working on getting simple NRPE command syntax working (using check_load) and I'm getting a weird syntax error when I run icinga2 checkconfig.
Here's my command config file: object CheckCommand "check_nrpe" inherits "plugin-check-command" { command = [ "$plugindir$/check_nrpe" "-H", "$address$, "-c", "$command$", ], } (Shamelessly stolen, FWIW.) When I run 'icinga2 checkconfig' I get this: [2014-01-20 12:10:05 -0500] <Main Thread> critical/config: Config error: in /etc/icinga2/conf.d/nrpe.conf: 3:18-3:18: syntax error, unexpected T_STRING, expecting ']' Context: (0) Loading configuration files [2014-01-20 12:10:05 -0500] <Main Thread> critical/config: 1 errors, 0 warnings. Context: (0) Loading configuration files What am I missing? The brackets are there, so I'm kinda lost. - -- Mark Haney Network Administrator/IT Support Practichem W:919-714-8428 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS3VmJAAoJEDgEuzPE0JQvdbgH/1HfGV1OHozkZnMBEFNsEih5 BwQTY0IHqP0QemI/NwHzK2CBl2Xsr01OdtlqOhsVZ/gNvrBroXZ4Q0OmwG15V4Bw vGADN4x3uja+JaGv8+qoiRwbiomRuJnvDtOsYyHrRhJrTTXcfs360j08Asxd/FfY +zuujlqTRx+/m6m5YTPUCkMjQQZouuFzwrZJ9H5dXBmcMzOz0UCkdM5K3tkQRiE2 wFcc8mYGag5Kv/Hhb4hdEr9iyQxBnr/7yEAu2zULHZtgOpAO+Xt6ru6SiT2beRg8 Tqv4kzkFc3UjFENCDEWfgWEI6pnoyw9mC/ONS494bazV87QJRf8fryF/MN6sR88= =QwdZ -----END PGP SIGNATURE----- _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users