Syslog in Solaris 11.1


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Syslog in Solaris 11.1
# 1  
Old 04-18-2014
Syslog in Solaris 11.1

Hi,

I have a solaris 11.1 server with many network interfaces (real and virtual), and one is connected to another server.

i need that syslog send the info through one specific interface, i know that in the syslog.conf file can write:

*.* @xxx.xxx.xxx.xxx (remote server IP)

but donīt work

how I can do?

I can not test on the server, I donīt have access, I can only do it that way, i know that the 2 servers have comunication, and the interface linking servers isnīt the default interface


thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How can i send Solaris syslog loging server?

HI how can i send solaris syslog to centralized logging server? i have tried adding like below and got error: *.err;kern.debug;daemon.notice;mail.crit @172.16.200.50:5000 and the error i got in /var/adm/messages is: Jun 10 13:02:24 aresdb-new.alshaya.com syslogd: line 14:... (10 Replies)
Discussion started by: bentech4u
10 Replies

2. UNIX for Advanced & Expert Users

Syslog in Solaris 11.1

Hi, I have a solaris 11.1 server with many network interfaces (real and virtual), and one is connected to another server. i need that syslog send the info through one specific interface, i know that in the syslog.conf file can write: *.* @xxx.xxx.xxx.xxx (remote server IP) but... (1 Reply)
Discussion started by: iocx
1 Replies

3. Solaris

Solaris syslog messages cluttering screen

Well, this kind of silly but I think I am missing something. So we have this Solaris 10 server which acts as syslog server for network devices. Problem is the syslogs clutters whenever I use the screen utility for any work. I am posting the conetent of /etc/syslog.conf # more... (3 Replies)
Discussion started by: admin_xor
3 Replies

4. Solaris

Solaris SYSLOG Help

We have this Sun Solaris that we use for SYSLOG. Existing firewalls send warning level to this SYSLOG and it works great. We added a new firewall, I pointed the firewall to this SYSLOG server but nothing is being logged (windows KIWI works but not UNIX & I dont like KIWI). I am wondering what to do... (10 Replies)
Discussion started by: fjm1502
10 Replies

5. Solaris

Solaris syslog server and client

Hi folks, I am attempting to setup a Solaris 10 syslog server to receive logs from linux machines. Here's what I did: On the server (SunOS sun226 5.10), IP address: 192.168.212.226: 1. start syslogdby issuing $/usr/sbin/syslogd -T On a client (SunOS sun221 5.8): 1. Configured... (1 Reply)
Discussion started by: kimurayuki
1 Replies

6. UNIX for Dummies Questions & Answers

edit /etc/syslog.conf (Solaris 10)

Hi, Im editing the file /etc/syslog.conf for Solaris 10 server in production. I need to add "auth and authpriv.": someone set the same? Have been successful? I would appreciate any suggestions. Greetings. The unmodified arhive is: (0 Replies)
Discussion started by: musul
0 Replies

7. Solaris

Syslog - solaris 9

HI admins, I am facing an issue with syslog on solaris9. It stopped the logging of messages..I tried all ways to start the syslog--/etc/init.d/syslog start, /usr/sbin/syslogd......etc.... But ps -eaf | grep sys not showing the syslog processes.......... When i start syslog using... (13 Replies)
Discussion started by: snchaudhari2
13 Replies

8. Solaris

Solaris Syslog Server

Hi all, I want to implement a Syslog Server but i'm new in this area. I donīt know how to configure it in Solaris. I should like send all the logs to a application(manipule the information, por example: do the alerts, configure it, etc...) How can I do that? or Which manual can help me? Exists... (2 Replies)
Discussion started by: yflores
2 Replies

9. UNIX for Dummies Questions & Answers

Solaris 10 question on syslog.conf file

Hi, I have a question on /etc/syslog.conf file in Solaris 10. Below is a line taken from /etc/syslog.conf file and I know that the last field (operator) is where the logs gets outputted but how do I find out what the output file name format is going to be and which directory it gets outputted... (1 Reply)
Discussion started by: stevefox
1 Replies

10. Solaris

Syslog-ng does not start Solaris 9

I have been installing syslog-ng on our Solaris 9 servers. All ov them are working except two which return the following error: # /etc/init.d/syslog start syslog-ng service starting. Error binding socket; addr='AF_INET(0.0.0.0:514)', error='Address already in use (125)' ... (6 Replies)
Discussion started by: takendal
6 Replies
Login or Register to Ask a Question
Logger::Syslog(3pm)					User Contributed Perl Documentation				       Logger::Syslog(3pm)

NAME
Logger::Syslog -- an intuitive wrapper over Syslog for Perl DESCRIPTION
You want to deal with syslog, but you don't want to bother with Sys::Syslog, that module is for you. Logger::Syslog takes care of everything regarding the Syslog communication, all you have to do is to use the function you need to send a message to syslog. Logger::Syslog provides one function per Syslog message level: debug, info, warning, error, notice, critic, alert. NOTES
Logger::Syslog is compliant with mod_perl, all you have to do when using it in such an environement is to call logger_init() at the beginning of your CGI, that will garantee that everything will run smoothly (otherwise, issues with the syslog socket can happen in mod_perl env). SYNOPSIS
use Logger::Syslog; info("Starting at ".localtime()); ... if ($error) { error("An error occured!"); exit 1; } ... notice("There something to notify"); FUNCTIONS
logger_init Call this to explicitly open a Syslog socket. You can optionaly specify a Syslog facility. That function is called when you use the module, if you're not in a mod_perl environement. Examples: # open a syslog socket with default facility (user) logger_init(); # open a syslog socket on the 'local' facility logger_init('local'); logger_close Call this to close the Syslog socket. That function is called automatically when the calling program exits. logger_prefix That function lets you set a string that will be prefixed to every messages sent to syslog. Example: logger_prefix("my program"); info("starting"); ... info("stopping"); logger_set_default_facility(facility) You can choose which facility to use, the default one is "user". Use that function if you want to switch smoothly from a facility to another. That function will close the existing socket and will open a new one with the appropriate facility. Example: logger_set_default_facility("cron"); LOGGING
Logger::Syslog provides one function per Syslog level to let you send messages. If you want to send a debug message, just use debug(), for a warning, use warning() and so on... All those function have the same signature : thay take a string as their only argument, which is the message to send to syslog. Examples: debug("my program starts at ".localtime()); ... warning("some strange stuff occured"); ... error("should not go there !"); ... notice("Here is my notice"); LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. COPYRIGHT
This program is copyright X 2004-2006 Alexis Sukrieh AUTHOR
Alexis Sukrieh <sukria@sukria.net> Very first versions were made at Cegetel (2004-2005) ; Thomas Parmelan gave a hand for the mod_perl support. perl v5.12.4 2006-11-27 Logger::Syslog(3pm)