Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help setting up Metalog
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LostGen
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 84

PostPosted: Wed Jul 13, 2005 12:28 pm    Post subject: Help setting up Metalog Reply with quote

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
View user's profile Send private message
deboeck
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2004
Posts: 92

PostPosted: Thu Jul 14, 2005 9:02 am    Post subject: Reply with quote

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
View user's profile Send private message
LostGen
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 84

PostPosted: Thu Jul 14, 2005 11:20 am    Post subject: Reply with quote

Ahh thank you for the help, explains everything.

Take care,

LG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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