home | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Config.xml (Example) since 1.056 Description per Tag Configuration example in a switched network |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuration example in a switched network | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Syslserve Server settings: <settings> <output_screen> False </output_screen> <raw> False </raw> <filesize> 1024 </filesize> <output_dir> c:\output </output_dir> <port> 514 </port> </settings> <maps> <group name="serverpark"> <ip>192.168.7.2</ip> <ip>192.168.7.3</ip> </group> <group name="routers"> <ip>192.168.7.254</ip> </group> <group name="workstations"> <ip>192.168.7.101</ip> <ip>192.168.7100</ip> </group> </maps> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In this example their are 3 groups defined namely: serverpark, routers and workstations . For example: if a syslog message would be received that is coming from Server A with the ip 192.168.7.2 it will be stored in the logs that are in the directory C:\output\serverpark\ You can have as many groups as you like and name them as you wish. Also their is no limitation to the amount of IP's you can put in the group. Syslog messages are not routed out of this network by RouterA. So you won't receive syslog message from the internet nor your syslog messages are sended out to the internet. Client configuration: Two ways in configuring the syslog clients Using the Ip-Address of the Syslog Server The most straight forward approach on configuring the syslog server and clients. Clients set their host address to: 192.168.7.3 and the port 514. Using the network-address, broadcasting the syslog messages You can also use the network-address. In above example we have a subnetmask 255.255.255.0 . Our network-address is: 192.168.7.255. This address we can use configuring the syslog clients instead of 192.168.7.3. The syslog message will get broadcasted through the whole network. It's a bit less efficient because it generates more traffic. On the other hand, the syslog server might be a bit more invisible or you can have multiple syslog servers receiving duplicate messages.
|