]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/samhain/templates/samhainrc.erb
Use the right variable
[dsa-puppet.git] / modules / samhain / templates / samhainrc.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 #####################################################################
7 #
8 # Configuration file template for samhain.
9 #
10 #####################################################################
11
12 # -- empty lines and lines starting with '#', ';' or '//' are ignored
13 # -- boolean options can be Yes/No or True/False or 1/0 
14 # -- you can PGP clearsign this file -- samhain will check (if compiled
15 #    with support) or otherwise ignore the signature
16 # -- CHECK mail address
17 #
18 # To each log facility, you can assign a threshold severity. Only
19 # reports with at least the threshold severity will be logged
20 # to the respective facility (even further below).
21 #
22 #####################################################################
23 #
24 # SETUP for file system checking:
25
26 # (i)   There are several policies, each has its own section. Put files
27 #       into the section for the appropriate policy (see below).
28 # (ii)  Section [EventSeverity]: 
29 #       To each policy, you can assign a severity (further below).
30 # (iii) Section [Log]: 
31 #       To each log facility, you can assign a threshold severity. Only
32 #       reports with at least the threshold severity will be logged
33 #       to the respective facility (even further below).
34 #
35 #####################################################################
36
37 #####################################################################
38 #
39 # Files are defined with: file = /absolute/path
40 #
41 # Directories are defined with:                  dir = /absolute/path
42 # or with an optional recursion depth (N <= 99): dir = N/absolute/path
43 #
44 # Directory inodes are checked. If you only want to check files
45 # in a directory, but not the directory inode itself, use (e.g.):
46 #
47 # [ReadOnly]
48 # dir = /some/directory
49 # [IgnoreAll]
50 # file = /some/directory
51 #
52 # You can use shell-style globbing patterns, like: file = /path/foo*
53
54 ######################################################################
55
56 [Misc]
57 ##
58 ## Add or subtract tests from the policies
59 ## - if you want to change their definitions,
60 ##   you need to do that before using the policies
61 ##
62 # RedefReadOnly = (no default)
63 # RedefAttributes=(no default)
64 # RedefLogFiles=(no default)
65 # RedefGrowingLogFiles=(no default)
66 # RedefIgnoreAll=(no default)
67 # RedefIgnoreNone=(no default)
68 # RedefUser0=(no default)
69 # RedefUser1=(no default)
70
71 [Attributes]
72 ##
73 ## for these files, only changes in permissions and ownership are checked
74 ##
75 file=/etc/mtab
76 file=/etc/ssh_random_seed
77 file=/etc/asound.conf
78 file=/etc/resolv.conf
79 file=/etc/localtime
80 file=/etc/ioctl.save
81 file=/etc/passwd.backup
82 file=/etc/shadow.backup
83 file=/etc/postfix/prng_exch
84 file=/etc/adjtime
85 file=/etc/lvm/.cache
86 file=/etc/lvm/cache
87 file=/etc/lvm/cache/.cache
88 file=/etc/network/run/ifstate
89 file=/var/state/samhain/samhain_file
90 file=/etc/bind/zones/db.debian.net
91 file=/etc/exim4/bsmtp
92
93
94
95 #
96 # There are files in /etc that might change, thus changing the directory
97 # timestamps. Put it here as 'file', and in the ReadOnly section as 'dir'.
98 #
99 file=/etc
100 file=/etc/ssh
101 file=/etc/network/run
102 file=/etc/bind/zones
103
104 # These are the directories for the files we handle with puppet
105 file=/etc/samhain
106 file=/etc/munin
107 file=/etc/exim4
108 file=/etc/exim4/ssl
109 file=/etc/apt
110 file=/etc/apt/apt.conf.d
111 file=/etc/apt/sources.list.d
112 file=/etc/puppet
113 file=/etc/default
114 file=/etc/logrotate.d
115 file=/etc/nagios
116 file=/etc/nagios/nrpe.d
117 <%= extradir=""
118 case fqdn 
119 when "spohr.debian.org": extradir="file=/etc/nagios3/puppetconf.d
120 file=/etc/puppet"
121 when "handel.debian.org": extradir="dir=8/etc/puppet"
122 else extradir="file=/etc/puppet"
123 end
124 extradir
125 %>
126 file=/etc/cron.d
127 file=/usr/lib/nagios/plugins
128 file=/usr/sbin
129 file=/etc/monit
130 file=/etc/monit/monit.d
131 file=/etc/pam.d
132
133
134 [LogFiles]
135 ##
136 ## for these files, changes in signature, timestamps, and size are ignored 
137 ##
138 file=/var/run/utmp
139 file=/etc/motd
140
141
142
143 #####################################################################
144 #
145 # This would be the proper syntax for parts that should only be
146 #    included for certain hosts.
147 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
148 #    result still has the proper syntax for the config file.
149 # You may have any number of @HOSTNAME/@end brackets.
150 # HOSTNAME should be the fully qualified 'official' name 
151 #    (e.g. 'nixon.watergate.com', not 'nixon'), no aliases. 
152 #    No IP number - except if samhain cannot determine the 
153 #    fully qualified hostname.
154 #
155 # @HOSTNAME
156 # file=/foo/bar
157 # @end
158 #
159 # These are two examples for conditional inclusion/exclusion
160 # of a machine based on the output from 'uname -srm'
161 #
162 # $Linux:2.*.7:i666
163 # file=/foo/bar3
164 # $end
165 #
166 # !$Linux:2.*.7:i686
167 # file=/foo/bar2
168 # $end
169 #
170 #####################################################################
171
172 [GrowingLogFiles]
173 ##
174 ## for these files, changes in signature, timestamps, and increase in size
175 ##                  are ignored 
176 ##
177 file=/var/log/warn
178 file=/var/log/messages
179 file=/var/log/wtmp
180 file=/var/log/faillog
181 file=/var/log/auth.log
182 file=/var/log/daemon.log
183 file=/var/log/user.log
184 file=/var/log/kern.log
185 file=/var/log/syslog
186
187
188 [IgnoreAll]
189 ##
190 ## for these files, no modifications are reported
191 ##
192 ## This file might be created or removed by the system sometimes.
193 ##
194 file=/etc/resolv.conf.pcmcia.save
195 file=/etc/nologin
196 file=/etc/postfix/debian.db
197 file=/etc/postfix/debian
198 file=/etc/ssh/ssh_known_hosts
199 file=/etc/ssh/ssh-rsa-shadow
200 file=/var/lib/misc/ssh-rsa-shadow
201 file=/etc/.da-backup.trace
202 file=/etc/postfix/debianhosts
203 file=/etc/postfix/debianhosts.db
204
205 # We handle these files with puppet - please to not be bothering us
206 file=/etc/timezone
207 file=/etc/motd.tail
208 file=/etc/samhain/samhainrc
209 file=/etc/munin/munin-node.conf
210 file=/etc/userdir-ldap.confc
211 file=/etc/exim4/blacklist
212 file=/etc/exim4/callout_users
213 file=/etc/exim4/exim4.conf
214 file=/etc/exim4/grey_users
215 file=/etc/exim4/helo-check
216 file=/etc/exim4/locals
217 file=/etc/exim4/localusers
218 file=/etc/exim4/manualroute
219 file=/etc/exim4/rbllist
220 file=/etc/exim4/rcpthosts
221 file=/etc/exim4/rhsbllist
222 file=/etc/exim4/virtualdomains
223 file=/etc/exim4/whitelist
224 file=/etc/exim4/local-auto.conf
225 file=/etc/exim4/local-settings.conf
226 file=/etc/exim4/ssl/ca.crt
227 file=/etc/exim4/ssl/ca.crl
228 file=/etc/exim4/ssl/thishost.crt
229 file=/etc/exim4/ssl/thishost.key
230 file=/etc/apt/preferences
231 file=/etc/apt/sources.list.d/volatile.list
232 file=/etc/apt/sources.list.d/security.list
233 file=/etc/apt/sources.list.d/buildd.list
234 file=/etc/apt/sources.list.d/debian.org.list
235 file=/etc/apt/sources.list.d/debian.restricted.list
236 file=/etc/apt/sources.list.d/debian.list
237 file=/etc/apt/sources.list.d/backports.org.list
238 file=/etc/apt/apt.conf.d/local-recommends
239 file=/etc/apt/apt.conf.d/local-pdiffs
240 file=/etc/puppet/puppet.conf
241 file=/etc/default/puppet
242 file=/etc/logrotate.d/exim4-paniclog
243 file=/etc/logrotate.d/exim4-base
244 file=/usr/sbin/dsa-update-apt-status
245 file=/usr/sbin/dsa-update-samhain-status
246 file=/etc/nagios/nrpe.d/nrpe_dsa.cfg
247 file=/etc/nagios/nrpe.d/debianorg.cfg
248 file=/etc/nagios/obsolete-packages-ignore
249 file=/usr/lib/nagios/plugins/dsa-check-packages
250 file=/usr/lib/nagios/plugins/dsa-check-soas
251 file=/usr/lib/nagios/plugins/dsa-check-mirrorsync
252 file=/usr/lib/nagios/plugins/dsa-check-samhain
253 file=/usr/lib/nagios/plugins/dsa-check-statusfile
254 file=/usr/lib/nagios/plugins/dsa-check-dabackup-server
255 file=/usr/lib/nagios/plugins/dsa-check-config
256 file=/usr/lib/nagios/plugins/dsa-check-hpacucli
257 file=/usr/lib/nagios/plugins/dsa-check-raid-mpt
258 file=/usr/lib/nagios/plugins/dsa-check-puppet
259 file=/usr/lib/nagios/plugins/dsa-check-running-kernel
260 file=/usr/lib/nagios/plugins/dsa-check-raid-3ware
261 file=/usr/lib/nagios/plugins/dsa-check-dabackup
262 file=/usr/lib/nagios/plugins/dsa-check-raid-dac960
263 file=/usr/lib/nagios/plugins/dsa-check-udldap-freshness
264 file=/usr/lib/nagios/plugins/dsa-check-raid-areca
265 file=/usr/lib/nagios/plugins/dsa-check-raid-sw
266 file=/usr/lib/nagios/plugins/dsa-update-samhain-status
267 file=/etc/sudoers
268 file=/etc/pam.d/sudo
269 file=/etc/blkid.tab
270 file=/etc/blkid.tab.old
271 file=/etc/monit/monitrc
272 file=/etc/monit/monit.d/01puppet
273 file=/etc/monit/monit.d/00debian.org
274 file=/etc/resolv.conf.dhclient-new
275 <%= extrafiles=""
276 case fqdn 
277 when "spohr.debian.org": extrafiles="file=/etc/nagios3/puppetconf.d/auto-hostgroups.cfg
278 file=/etc/nagios3/puppetconf.d/auto-hosts.cfg
279 file=/etc/nagios3/puppetconf.d/auto-services.cfg
280 file=/etc/nagios3/puppetconf.d/auto-dependencies.cfg
281 file=/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg
282 file=/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg"
283 end
284 extrafiles
285 %>
286
287 [IgnoreNone]
288 ##
289 ## for these files, all modifications (even access time) are reported
290 ##    - you may create some interesting-looking file (like /etc/safe_passwd),
291 ##      just to watch whether someone will access it ...
292 ##
293
294 [Prelink]
295 ##
296 ## Use for prelinked files or directories holding them
297 ##
298
299
300 [ReadOnly]
301 ##
302 ## for these files, only access time is ignored
303 ##
304 dir=/usr/bin
305 dir=/bin
306 dir=/boot
307 #
308 # SuSE (old) has the boot init scripts in /sbin/init.d/*, 
309 # so we go 3 levels deep
310 #
311 dir=3/sbin
312 dir=/usr/sbin
313 dir=/lib
314 dir=3/usr/lib
315 #
316 # RedHat and Debian have the bootinit scripts in /etc/init.d/* or /etc/rc.d/*, 
317 #        so we go 3 levels deep there too
318 #
319 dir=3/etc
320
321 # Various directories / files that may include / be SUID/SGID binaries
322 #
323 #
324 file=/usr/lib/pt_chown
325 # X11, in Debian X7 this is now a symlink
326 #dir=/usr/X11R6/bin
327 #dir=/usr/X11R6/lib/X11/xmcd/bin
328 # Apache:
329 #file=/usr/lib/apache/suexec
330 #file=/usr/lib/apache/suexec.disabled
331 # Extra directories:
332 #dir=/opt/gnome/bin
333 #dir=/opt/kde/bin
334
335 [User0]
336 [User1]
337 ## User0 and User1 are sections for files/dirs with user-definable checking
338 ## (see the manual) 
339
340
341 [EventSeverity]
342 ##
343 ## Here you can assign severities to policy violations.
344 ## If this severity exceeds the treshold of a log facility (see below),
345 ## a policy violation will be logged to that facility.
346 ##
347 ## Severity for verification failures.
348 ##
349 # SeverityReadOnly=crit
350 # SeverityLogFiles=crit
351 # SeverityGrowingLogs=crit
352 # SeverityIgnoreNone=crit
353 # SeverityAttributes=crit
354 # SeverityUser0=crit
355 # SeverityUser1=crit
356
357 # Default behaviour
358 SeverityReadOnly=crit
359 SeverityLogFiles=crit
360 SeverityGrowingLogs=warn
361 SeverityIgnoreNone=crit
362 SeverityAttributes=crit
363
364
365 ##
366 ## We have a file in IgnoreAll that might or might not be present.
367 ## Setting the severity to 'info' prevents messages about deleted/new file.
368 ##
369 # SeverityIgnoreAll=crit
370 SeverityIgnoreAll=info
371
372 ## Files : file access problems
373 # SeverityFiles=crit
374
375 ## Dirs  : directory access problems
376 # SeverityDirs=crit
377
378 ## Names : suspect (non-printable) characters in a pathname
379 # SeverityNames=crit
380
381 # Default behaviour
382 SeverityFiles=crit
383 SeverityDirs=crit
384 SeverityNames=warn
385
386
387 [Log]
388 ##
389 ## Switch on/OFF log facilities and set their threshold severity
390 ##
391 ## Values: debug, info, notice, warn, mark, err, crit, alert, none.
392 ## 'mark' is used for timestamps.
393 ##
394 ##
395 ## Use 'none' to SWITCH OFF a log facility
396 ## 
397 ## By default, everything equal to and above the threshold is logged.
398 ## The specifiers '*', '!', and '=' are interpreted as  
399 ## 'all', 'all but', and 'only', respectively (like syslogd(8) does, 
400 ## at least on Linux). Examples:
401 ## MailSeverity=*
402 ## MailSeverity=!warn
403 ## MailSeverity==crit
404
405 ## E-mail
406 ##
407 # MailSeverity=none
408
409 ## Console
410 ##
411 # PrintSeverity=info
412
413 ## Logfile
414 ##
415 # LogSeverity=mark
416
417 ## Syslog
418 ##
419 # SyslogSeverity=none
420
421 ## Remote server (yule)
422 ##
423 # ExportSeverity=none
424
425 ## External script or program
426 ##
427 # ExternalSeverity = none
428
429 ## Logging to a database
430 ##
431 # DatabaseSeverity = none
432
433 # Default behaviour
434 MailSeverity=crit
435 PrintSeverity=none
436 LogSeverity=info
437 SyslogSeverity=alert
438 ExportSeverity=none
439
440
441
442
443
444 #####################################################
445 #
446 # Optional modules
447 #
448 #####################################################
449
450 # [SuidCheck]
451 ##
452 ## --- Check the filesystem for SUID/SGID binaries
453 ## 
454
455 ## Switch on
456 #
457 # SuidCheckActive = yes
458
459 ## Interval for check (seconds)
460 #
461 # SuidCheckInterval = 7200
462
463 ## Alternative: crontab-like schedule
464 #
465 # SuidCheckSchedule = NULL
466  
467 ## Directory to exclude 
468 #
469 # SuidCheckExclude = NULL
470
471 ## Limit on files per second (0 == no limit)
472 #
473 # SuidCheckFps = 0
474
475 ## Alternative: yield after every file
476 #
477 # SuidCheckYield = no
478
479 ## Severity of a detection
480 #
481 # SeveritySuidCheck = crit
482
483 ## Quarantine SUID/SGID files if found
484 #
485 # SuidCheckQuarantineFiles = yes
486
487 ## Method for Quarantining files:
488 #  0 - Delete or truncate the file.
489 #  1 - Remove SUID/SGID permissions from file.
490 #  2 - Move SUID/SGID file to quarantine dir.
491 #
492 # SuidCheckQuarantineMethod = 0
493
494 ## For method 1 and 3, really delete instead of truncating
495
496 # SuidCheckQuarantineDelete = yes
497
498 # [Kernel]
499 ##
500 ## --- Check for loadable kernel module rootkits (Linux/FreeBSD only) 
501 ##
502
503 ## Switch on/off
504 #
505 KernelCheckActive = True
506
507 ## Check interval (seconds); btw., the check is VERY fast
508 #
509 # KernelCheckInterval = 300
510
511 ## Severity
512 #
513 # SeverityKernel = crit
514
515
516 # [Utmp]
517 ##
518 ## --- Logging of login/logout events
519 ##
520
521 ## Switch on/off
522 #
523 LoginCheckActive = True
524
525 ## Severity for logins, multiple logins, logouts
526
527 # SeverityLogin=info
528 # SeverityLoginMulti=warn
529 # SeverityLogout=info
530
531 ## Interval for login/logout checks
532 #
533 # LoginCheckInterval = 300
534
535
536 # [Database]
537 ##
538 ## --- Logging to a relational database
539 ##
540
541 ## Database name
542 #
543 # SetDBName = samhain
544
545 ## Database table
546 #
547 # SetDBTable = log
548
549 ## Database user
550 #
551 # SetDBUser = samhain
552
553 ## Database password
554 #
555 # SetDBPassword = (default: none)
556
557 ## Database host
558 #
559 # SetDBHost = localhost
560
561 ## Log the server timestamp for received messages
562 #
563 # SetDBServerTstamp = True
564
565 ## Use a persistent connection
566 #
567 # UsePersistent = True
568
569 # [External]
570 ##
571 ## Interface to call external scripts/programs for logging
572 ##
573
574 ## The absolute path to the command
575 ## - Each invocation of this directive will end the definition of the
576 ##   preceding command, and start the definition of 
577 ##   an additional, new command
578 #
579 # OpenCommand = (no default)
580
581 ## Type (log or rv)
582 ## - log for log messages, srv for messages received by the server
583 #
584 # SetType = log
585
586 ## The command (full command line) to execute
587 #
588 # SetCommandLine = (no default)
589
590 ## The environment (KEY=value; repeat for more)
591 #
592 # SetEnviron = TZ=(your timezone)
593
594 ## The TIGER192 checksum (optional)
595 #
596 # SetChecksum = (no default)
597
598 ## User who runs the command
599 #
600 # SetCredentials = (default: samhain process uid)
601
602 ## Words not allowed in message
603 #
604 # SetFilterNot = (none)
605
606 ## Words required (ALL of them)
607 #
608 # SetFilterAnd = (none)
609
610 ## Words required (at least one)
611 #
612 # SetFilterOr = (none)
613
614 ## Deadtime between consecutive calls
615 #
616 # SetDeadtime = 0
617
618 ## Add default environment (HOME, PATH, SHELL)
619 #
620 # SetDefault = no
621
622
623 #####################################################
624 #
625 # Miscellaneous configuration options
626 #
627 #####################################################
628
629 [Misc]
630
631 ## whether to become a daemon process
632 ## (this is not honoured on database initialisation)
633 #
634 # Daemon = no
635 Daemon = yes
636
637 ## whether to test signature of files (init/check/none)
638 ## - if 'none', then we have to decide this on the command line -
639 #
640 # ChecksumTest = none
641 ChecksumTest=check
642
643 ## whether to drop linux capabilities that are not required
644 ## - will make a root process a 'mere mortal' in many respects
645 #
646 # UseCaps = yes
647
648 ## Set nice level (-19 to 19, see 'man nice'),
649 ## and I/O limit (kilobytes per second; 0 == off)
650 ## to reduce load on host.
651 #
652 # SetNiceLevel = 0
653 # SetIOLimit = 0
654
655 ## The version string to embed in file signature databases
656 #
657 # VersionString = NULL
658
659 ## Interval between time stamp messages
660 #
661 # SetLoopTime = 60
662 SetLoopTime = 600
663
664 ## Interval between file checks 
665 #
666 # SetFileCheckTime = 600
667 SetFileCheckTime = 7200
668
669 ## Alternative: crontab-like schedule
670 #
671 # FileCheckScheduleOne = NULL
672
673 ## Alternative: crontab-like schedule(2)
674 #
675 # FileCheckScheduleTwo = NULL
676
677 ## Report only once on modified fles 
678 ## Setting this to 'FALSE' will generate a report for any policy 
679 ## violation (old and new ones) each time the daemon checks the file system.
680 #
681 # ReportOnlyOnce = True
682
683 ## Report in full detail
684 #
685 # ReportFullDetail = False
686
687 ## Report file timestamps in local time rather than GMT
688 #
689 # UseLocalTime = No
690
691 ## The console device (can also be a file or named pipe)
692 ## - There are two console devices. Accordingly, you can use
693 ##   this directive a second time to set the second console device.
694 ##   If you have not defined the second device at compile time,
695 ##   and you don't want to use it, then:
696 ##   setting it to /dev/null is less effective than just leaving
697 ##   it alone (setting to /dev/null will waste time by opening
698 ##   /dev/null and writing to it)
699 #
700 # SetConsole = /dev/console
701
702 ## Activate the SysV IPC message queue
703 #
704 # MessageQueueActive = False
705
706
707 ## If false, skip reverse lookup when connecting to a host known 
708 ## by name rather than IP address (i.e. trust the DNS)
709 #
710 # SetReverseLookup = True
711
712 ## --- E-Mail ---
713
714 # Only highest-level (alert) reports will be mailed immediately,
715 # others will be queued. Here you can define, when the queue will
716 # be flushed (Note: the queue is automatically flushed after
717 # completing a file check).
718 #
719 SetMailTime = 86400
720
721 ## Maximum number of mails to queue
722 #
723 SetMailNum = 10
724
725 ## Recipient (max. 8)
726 #
727 SetMailAddress=samhain-reports@debian.org
728
729 ## Mail relay (IP address)
730 <%=
731 out=""
732 if not nodeinfo['smarthost'].empty?
733   out = '
734 SetMailRelay = localhost
735 '
736 else
737 out = '
738 SetMailRelay = master.debian.org
739 '
740 end
741 out
742 %>
743 ## Custom subject format
744 #
745 MailSubject = [Samhain at %H] %T: %S
746
747 ## --- end E-Mail ---
748
749 ## Path to the prelink executable
750 #
751 # SetPrelinkPath = /usr/sbin/prelink
752
753 ## TIGER192 checksum of the prelink executable
754 #
755 # SetPrelinkChecksum = (no default)
756
757
758 ## Path to the executable. If set, will be checksummed after startup
759 ## and before exit.
760 #
761 # SamhainPath = (no default)
762
763
764 ## The IP address of the log server
765 #
766 # SetLogServer = (default: compiled-in)
767
768 ## The IP address of the time server
769 #
770 # SetTimeServer = (default: compiled-in)
771
772 ## Trusted Users (comma delimited list of user names) 
773 #
774 # TrustedUser = (no default; this adds to the compiled-in list)
775
776 ## Path to the file signature database
777 #
778 # SetDatabasePath = (default: compiled-in)
779
780 ## Path to the log file
781 #
782 # SetLogfilePath = (default: compiled-in)
783
784 ## Path to the PID file
785 #
786 # SetLockPath = (default: compiled-in)
787
788
789 ## The digest/checksum/hash algorithm
790 #
791 # DigestAlgo = TIGER192
792
793
794 ## Custom format for message header. 
795 ## CAREFUL if you use XML logfile format.
796 ##
797 ## %S severity
798 ## %T timestamp
799 ## %C class
800 ##
801 ## %F source file
802 ## %L source line
803 #
804 # MessageHeader="%S %T "
805
806
807 ## Don't log path to config/database file on startup
808 #
809 # HideSetup = False
810
811 ## The syslog facility, if you log to syslog
812 #
813 # SyslogFacility = LOG_AUTHPRIV
814 SyslogFacility=LOG_LOCAL2
815
816 ## The message authentication method
817 ## - If you change this, you *must* change it
818 ##   on client *and* server
819 #
820 # MACType = HMAC-TIGER
821
822
823 ## everything below is ignored
824 [EOF]
825
826 #####################################################################
827 # This would be the proper syntax for parts that should only be
828 #    included for certain hosts.
829 # You may enclose anything in a @HOSTNAME/@end bracket, as long as the
830 #    result still has the proper syntax for the config file.
831 # You may have any number of @HOSTNAME/@end brackets.
832 # HOSTNAME should be the fully qualified 'official' name 
833 #    (e.g. 'nixon.watergate.com', not 'nixon'), no aliases. 
834 #    No IP number - except if samhain cannot determine the 
835 #    fully qualified hostname.
836 #
837 # @HOSTNAME
838 # file=/foo/bar
839 # @end
840 #
841 # These are two examples for conditional inclusion/exclusion
842 # of a machine based on the output from 'uname -srm'
843 # $Linux:2.*.7:i666
844 # file=/foo/bar3
845 # $end
846 #
847 # !$Linux:2.*.7:i686
848 # file=/foo/bar2
849 # $end
850 #
851 #####################################################################