Issue with check command

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issue with check command

Post by abrist »

Our suggestion is to test the check from the cli if escaping is a concern as the actual check is passed through the shell anyways.
Just a note, there are other things that may not work as expected in the test check - $USERn$ macros and escaping tend to be the most common things that trip people up.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
imrob
Posts: 9
Joined: Mon May 06, 2013 4:46 pm

Re: Issue with check command

Post by imrob »

This works fine for me and has been how I've been doing it.

I'm not sure that is going to work for non-linux people here who want to setup checks....

I was under the impression that Nagios XI was supposed to be for non-tech people to set stuff up. If they need to drop to a shell & ssh in, I'm afraid this product will probably not work for us.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issue with check command

Post by abrist »

One you have a base set of checks, you should be able to copy the configs for newly added hosts and their checks. Performance counters tend to take a bit of massaging due to all of the necessary escaping. check_nt and check_nrpe have alternative disk checking mechanisms if the performance counters are too big of a headache. You could also write your own powershell scripts and fire them off by either of those agents. XI was written to be as simple as possible, but it is also very extensible which comes with a bit of responsibility. I doubt non tech people know how to set up a performance counter check or what it even means. There is a minimum entry to all the monitoring software platforms, XI included.

Once your base configs for your environment are setup (host/service groups, templates, etc), adding new hosts becomes easier and easier.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked