# The default smart_send_nsca.cfg file. # Password, or rather, shared key, for use by all connections. password=default_password # Encryption method. The perl library used by smart_send_nsca.pl supports # option 0, and option 1. # 0 == plain, 1 == cyclic XOR encryption_method=1 # The smart aspects (commented out). Supply the IP address of a host # host_example1=192.168.144.120 # host_example2=192.168.1.2 # host_example3=10.1.2.3 # host_example4=172.12.13.14 # host_example5=10.255.127.1 # host_example6=172.13.14.12 # List hosts within sites # site_site1=example1,example3,example4 # site_site2=example2,example5 # site_site3=example6 # Usage of the smart aspects. smart_send_nsca.pl (actually, Net::Nsca) will # scan this file looking for host and site definitions. If asked to send # to one host within a given site (eg, '-o site1'), it will send the message # to one random responding host out of example1, example3 or example4, and # will _not_ add the destination site to the path tracing (as it isn't sending # to more than one site or all hosts within a site. # # If asked to send to all hosts within a site, will in turn send to example1, # example3, and example4, adding 'site1' to the path tracing before sending # (as it is sending to every host within a site). # # If asked to send to all sites, will in turn send to one random responding # host within each site (example3, example5 and example6), adding every # site but the one the host is in to the path tracing (so that the host the # message is sent to will copy the message to other hosts within the same # site). # # At all times in the above, the local hostname is added to the path tracing # information. For more detailed information, read the notes on the # broadcast method in the Net::Nsca documentation. #