Search found 3 matches

by rreinhardt
Fri Jul 22, 2016 3:33 pm
Forum: Open Source Nagios Projects
Topic: nagios won't load some services configs but others it will
Replies: 4
Views: 1287

Re: nagios won't load some services configs but others it wi

What is the proper syntax of that? Is it this?

check_disk!-w 10% -c 2% -p /

because that's not working either.

I've also tried:

this

check_disk!-w 10%!-c 2%!-p /!

and this

check_disk!10%!2%/

all give the same error.

By the way, I'm running Nagios Core 4.1.1 and NRPE 2.15 on Centos 7
by rreinhardt
Fri Jul 22, 2016 2:34 pm
Forum: Open Source Nagios Projects
Topic: nagios won't load some services configs but others it will
Replies: 4
Views: 1287

Re: nagios won't load some services configs but others it wi

I thought using the macro substitution was optional not required. Since they're required, can you point me to a doc that has the specific macro substitution syntax for each plug-in defined? Some of these have a lot of command line options, and some of those won't be used. If I can't specify the actu...
by rreinhardt
Fri Jul 22, 2016 1:36 pm
Forum: Open Source Nagios Projects
Topic: nagios won't load some services configs but others it will
Replies: 4
Views: 1287

nagios won't load some services configs but others it will

I'm not sure what could be wrong. I have services defined that load and work just fine, for example this works like a champ: define host { use linux-server host_name myhost alias myhost address a.b.c.d max_check_attempts 5 check_period 24x7 notification_interval 30 notification_period 24x7 } define ...