NC_Net config question

Hendrik Baecker b00mer at gmx.net
Fri May 27 10:14:18 CEST 2005


Hi List,

I've just testing the NC_NET Client as an alternative tool as nrpe_nt or
nsclient (old).

After patching the utils.h (thanks to Andreas Ericson ^^) I've got the
modified check_nt working and talking to the NC_NET Client.

So far so good.

No I want to change the active check port to some other value than 1248
(we found out some Problems cause of other apps with this port).

######################

# ./check_nt -V
check_nc_net (nagios-plugins 1.4) 1.22

# ./check_nt -p 1248 -H 10.190.0.4 -v CLIENTVERSION
NC_Net 2.26 04/19/05

# ./check_nt -H 10.190.0.4 -v CONFIG -l "port,62667"
OK- port, 62667

# Connection to Client on OLD Port!!!!!
# ./check_nt -p 1248 -H 10.190.0.4 -v ENUMCONFIG
Date: 27.05.2005 10:09:39;

Version: NC_Net 2.26 04/19/05;
NC_Net Config Path: c:\programme\shatter it\nc_net\config\;
Startup Config: c:\programme\shatter it\nc_net\config\startup.cfg;
Debug Log: c:\programme\shatter it\nc_net\config\deb.log;
Passive Config: c:\programme\shatter it\nc_net\config\passive.cfg;
Passive Check Log:c:\programme\shatter it\nc_net\config\passive.log;

Active_check: True;
Lock_active_config: False;
-->Port: 62667;<--
Pass: None;
Active_timeout: 20;
Active_ip_accept_list: False;

Passive_check: False;
Lock_passive_config: False;
Port_passive: 5667;
Host_passive: NC_Net_host_ID;
Ip_passive: 127.0.0.1;
Pass_passive: ;
Encrip_passive: 1;
Interval_passive: 5;
Interval_div_passive: 1;
Passive_alwayson:False;
Passive_timeout:10;

Cpu_max_interval: 60;
cpu_single: False;
MYDEBUG: False;
Testrun: False;
Embedded_send_nsca: True;
External_send_nsca: False;
External_send_nsca_app: C:\\send_nsca\\send_nsca.exe;
External_send_nsca_cfg: C:\\send_nsca\\send_nsca.cfg;
External_send_nsca_ip: 127.0.0.1;
External_send_nsca_port: 5667;
External_send_nsca_timeout: 10

######################

Is it possible to change the port via check_nt -v CONFIG?

What did I do wrong?

Some ideas were great.

Best regards
Hendrik



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list