source: nscp/NSC.dist @ dc65e35

0.4.00.4.10.4.2stable
Last change on this file since dc65e35 was dc65e35, checked in by Michael Medin <michael@…>, 6 years ago

2006-03-05 MickeM

  • Fixed -v FILEAGE check_nt (NSClient) check.
  • Added licence agreement header to all files
  • Property mode set to 100644
File size: 5.6 KB
Line 
1[modules]
2;# NSCLIENT++ MODULES
3;# A list with DLLs to load at startup.
4;  You will need to enable some of these for NSClient++ to work.
5; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
6; *                                                               *
7; * N O T I C E ! ! ! - Y O U   H A V E   T O   E D I T   T H I S *
8; *                                                               *
9; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
10;FileLogger.dll
11;CheckSystem.dll
12;CheckDisk.dll
13;NSClientListener.dll
14;NRPEListener.dll
15;SysTray.dll
16;CheckEventLog.dll
17;CheckHelpers.dll
18;
19; CheckWMI IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS!
20;CheckWMI.dll
21;
22; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS!
23;RemoteConfiguration.dll
24
25[Settings]
26;# OBFUSCATED PASSWORD
27;  This is the same as the password option but here you can store the password in an obfuscated manner.
28;  *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the
29;  password. Its just a bit harder to do it at first glance.
30;obfuscated_password=Jw0KAUUdXlAAUwASDAAB
31;
32;# PASSWORD
33;  This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly.
34;password=secret-password
35;
36;# ALLOWED HOST ADDRESSES
37;  This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons.
38;  If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password).
39;  The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access
40;allowed_hosts=127.0.0.1/32
41;
42;# USE THIS FILE
43;  Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1
44;  the registry will be used instead.
45use_file=1
46
47[log]
48;# LOG DEBUG
49;  Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test)
50;debug=1
51;
52;# LOG FILE
53;  The file to print log statements to
54;file=NSC.log
55;
56;# LOG DATE MASK
57;  The format to for the date/time part of the log entry written to file.
58;date_mask=%Y-%m-%d %H:%M:%S
59
60
61[NSClient]
62;# ALLOWED HOST ADDRESSES
63;  This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon.
64;  If you leave this blank the global version will be used instead.
65;allowed_hosts=
66;
67;# NSCLIENT PORT NUMBER
68;  This is the port the NSClientListener.dll will listen to.
69;port=12489
70;
71;# BIND TO ADDRESS
72;  Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname.
73;  Leaving this blank will bind to all avalible IP adresses.
74;bind_to_address=
75
76
77[Check System]
78;# CPU BUFFER SIZE
79;  Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory
80;  so don't use a larger buffer then you need (ie. the longest check you do +1).
81;CPUBufferSize=1h
82;
83;# CHECK RESOLUTION
84;  The resolution to check values (currently only CPU).
85;  The value is entered in 1/10:th of a second and the default is 10 (which means ones every second)
86;CheckResolution=10
87
88[NRPE]
89;# NRPE PORT NUMBER
90;  This is the port the NRPEListener.dll will listen to.
91;port=5666
92;
93;# COMMAND TIMEOUT
94;  This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off.
95;command_timeout=60
96;
97;# COMMAND ARGUMENT PROCESSING
98;  This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed.
99;allow_arguments=0
100;
101;# COMMAND ALLOW NASTY META CHARS
102;  This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
103;allow_nasty_meta_chars=0
104;
105;# USE SSL SOCKET
106;  This option controls if SSL should be used on the socket.
107;use_ssl=1
108;
109;# BIND TO ADDRESS
110;  Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname.
111;  Leaving this blank will bind to all avalible IP adresses.
112; bind_to_address=
113;
114;# ALLOWED HOST ADDRESSES
115;  This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon.
116;  If you leave this blank the global version will be used instead.
117;allowed_hosts=
118;
119;# SCRIPT DIRECTORY
120;  All files in this directory will become check commands.
121;  *WARNING* This is undoubtedly dangerous so use with care!
122;script_dir=scripts\
123
124
125[NRPE Handlers]
126;# COMMAND DEFINITIONS
127;# Command definitions that this daemon will run.
128;# Can be either NRPE syntax:
129;command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
130;# Or simplified syntax:
131;test=c:\test.bat foo $ARG1$ bar
132;check_disk1=/usr/local/nagios/libexec/check_disk -w 5 -c 10
133;# Or even loopback (inject) syntax (to run internal commands)
134;# This is a way to run "NSClient" commands and other internal module commands such as check eventlog etc.
135;check_cpu=inject checkCPU warn=80 crit=90 5 10 15
136;check_eventlog=inject CheckEventLog Application warn.require.eventType=error warn.require.eventType=warning critical.require.eventType=error critical.exclude.eventType=info truncate=1024 descriptions
137;check_disk_c=inject CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M File:WIN=c:\ATI\*.*
138;# But be careful:
139; dont_check=inject dont_check This will "loop forever" so be careful with the inject command...
140;# Check some escapings...
141; check_escape=inject CheckFileSize ShowAll MaxWarn=1024M MaxCrit=4096M "File: foo \" WIN=c:\\WINDOWS\\*.*"
142;# Some real world samples
143;nrpe_cpu=inject checkCPU warn=80 crit=90 5 10 15
144;nrpe_ok=scripts\ok.bat
Note: See TracBrowser for help on using the repository browser.