View previous topic :: View next topic |
Author |
Message |
LostGen Tux's lil' helper

Joined: 02 Feb 2005 Posts: 84
|
Posted: Wed Jul 13, 2005 12:28 pm Post subject: Help setting up Metalog |
|
|
Hi everyone,
I have a few cisco devices setup right now that dump there logs to a windows device running kiwi syslog. I would like to cut this windows device out and use one of my gentoo boxes running metalog instead. I am looking at the metalog config and am not quite sure how to set it up to receive these incoming logs. Also so you are away the metalog config is the default one you get when you first emerge metalog.
Cisco Device: 192.168.1.1
Gentoo Metalog Box: 192.168.1.10
################Metalog Config Blurb#########################
SSH Server :
program = "sshd"
logdir = "/var/log/sshd"
######################################################
So this is pretty self explanatory, I was hoping there would be a way to do somthing like this but I am not sure exactly how to put it all together.
################Imaginery Cisco Config#######################
Cisco Device:
program = "192.168.1.1"
logdir = "/var/log/cisco"
######################################################
Does this make any sense, or am I not even close on this one.
Thanks all,
LG |
|
Back to top |
|
 |
deboeck Tux's lil' helper

Joined: 13 Jan 2004 Posts: 92
|
Posted: Thu Jul 14, 2005 9:02 am Post subject: |
|
|
No, you're a bit off. 192.168.1.1 is not a program running on your computer, so you probably can't match on the program directive. Use regex or facility. Have a look at the metalog documentation to understand what all this means. You can find it here: http://metalog.sourceforge.net/README.
In any case, metalog is not suitable for what you want to do, because it doesn't support network logging. It can only log messages from the machine it's running on, NOT messages sent over the network. Have a look at syslog-ng or ksyslog for alternatives. |
|
Back to top |
|
 |
LostGen Tux's lil' helper

Joined: 02 Feb 2005 Posts: 84
|
Posted: Thu Jul 14, 2005 11:20 am Post subject: |
|
|
Ahh thank you for the help, explains everything.
Take care,
LG |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|