Back to index

nagios-plugins  1.4.16
conf.h
Go to the documentation of this file.
00001 /* Default Database File Names */
00002 
00003 #define RADIUS_DIR          "/etc/raddb"
00004 #define RADACCT_DIR         "/var/log/radacct"
00005 #define RADLOG_DIR          "/var/log"
00006 
00007 #define RADIUS_DICTIONARY   "dictionary"
00008 #define RADIUS_CLIENTS             "clients"
00009 #define RADIUS_NASLIST             "naslist"
00010 #define RADIUS_USERS        "users"
00011 #define RADIUS_HOLD         "holdusers"
00012 #define RADIUS_LOG          "radius.log"
00013 #define RADIUS_HINTS        "hints"
00014 #define RADIUS_HUNTGROUPS   "huntgroups"
00015 #define RADIUS_REALMS              "realms"
00016 
00017 #define RADUTMP                    "/var/log/radutmp"
00018 #define RADWTMP                    "/var/log/radwtmp"
00019 
00020 #define RADIUS_PID          "/var/run/radiusd.pid"
00021 
00022 #define CHECKRAD1           "/usr/sbin/checkrad"
00023 #define CHECKRAD2           "/usr/local/sbin/checkrad"
00024 
00025 /* Hack for funky ascend ports on MAX 4048 (and probably others)
00026    The "NAS-Port-Id" value is "xyyzz" where "x" = 1 for digital, 2 for analog;
00027    "yy" = line number (1 for first PRI/T1/E1, 2 for second, so on);
00028    "zz" = channel number (on the PRI or Channelized T1/E1).
00029     This should work with normal terminal servers, unless you have a TS with
00030         more than 9999 ports ;^).
00031     The "ASCEND_CHANNELS_PER_LINE" is the number of channels for each line into
00032         the unit.  For my US/PRI that's 23.  A US/T1 would be 24, and a
00033         European E1 would be 30 (I think ... never had one ;^).
00034     This will NOT change the "NAS-Port-Id" reported in the detail log.  This
00035         is simply to fix the dynamic IP assignments a la Cistron.
00036     WARNING: This hack works for me, but I only have one PRI!!!  I've not
00037         tested it on 2 or more (or with models other than the Max 4048)
00038     Use at your own risk!
00039   -- dgreer@austintx.com
00040 */
00041 #define ASCEND_PORT_HACK
00042 #define ASCEND_CHANNELS_PER_LINE        23
00043 
00044 /*
00045  *     Hack for USR gear - uses a different Vendor-Specific attribute
00046  *     packet layout, argh.
00047  */
00048 #define ATTRIB_NMC
00049 
00050 /*
00051  *     Hack to enable use of 1.5.4.3 dictionaries.
00052  */
00053 #define COMPAT_1543
00054