Search found 8 matches

by dan@thinkip
Wed Oct 28, 2015 9:35 am
Forum: Nagios XI
Topic: Canout get output
Replies: 13
Views: 3973

Re: Canout get output

I have let it run, but it isn't running. That is the problem. How is suppose to do these checks? Cron Job? What job is it that runs the NCPA check? I see no output using port 5693 (NCPA port)
by dan@thinkip
Tue Oct 27, 2015 11:25 am
Forum: Nagios XI
Topic: Canout get output
Replies: 13
Views: 3973

Re: Canout get output

I did have a ! in my token. Removed the !, but still not getting any output. When running from Service Template Management getting this output: COMMAND: /usr/local/nagios/libexec/check_ncpa.py -H 172.16.3.107 -t Th1nk-1p -M 'disk/logical/C:\|/used_percent' -w 70 -c 90 -P 5693 OUTPUT: Unable to run c...
by dan@thinkip
Tue Oct 27, 2015 10:30 am
Forum: Nagios XI
Topic: Canout get output
Replies: 13
Views: 3973

Re: Canout get output

define service {
name xiwizard_ncpa_service
use xiwizard_generic_service
check_command check_xi_ncpa_agent!!!!!!!!
register 0

}

Why are there !!!!! in the check_command?
by dan@thinkip
Mon Oct 26, 2015 4:02 pm
Forum: Nagios XI
Topic: Canout get output
Replies: 13
Views: 3973

Re: Canout get output

I have in the command.cfg file: define command { command_name check_xi_ncpa_agent command_line $USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$ } If this command wasn't in the command.cfg file I would not be able to restart nagios with the changes.
by dan@thinkip
Fri Oct 23, 2015 3:57 pm
Forum: Nagios XI
Topic: Canout get output
Replies: 13
Views: 3973

Re: Canout get output

I am now running a tcpdump and noticed that when I force a check, I do not see anything going out on port 5693, but do see it when I send the command manually
by dan@thinkip
Fri Oct 23, 2015 3:19 pm
Forum: Nagios XI
Topic: Canout get output
Replies: 13
Views: 3973

Re: Canout get output

Also another FYI, when I run the commands from the CLI--./check_ncpa.py -H 172.16.3.107 -t xxxx -M disk/logical/C:|/used_percent -w 70 -c 90 -P 5693 This works, but not when it uses check_xi_ncpa_agent!-t 'xxxxxx' -P 5693 -M cpu/percent -w 20 -c 40 The output on the web (No output on stdout) stderr:...
by dan@thinkip
Fri Oct 23, 2015 3:13 pm
Forum: Nagios XI
Topic: Canout get output
Replies: 13
Views: 3973

Re: Canout get output

Using version 5.2.0 Nagios XI and 1.8.1 for NCPA
by dan@thinkip
Thu Oct 22, 2015 3:40 pm
Forum: Nagios XI
Topic: Canout get output
Replies: 13
Views: 3973

Canout get output

Put the agent ncpa on my windows 10 box. Any checks that use "xiwizard_ncpa_service" and check_command "check_xi_ncpa_agent; getting "warning" and Status--" (No output on stdout) stderr: /bin/sh: -c: line 0: unexpected EOF while looking for matching `''. What is missing?