| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
Welcome to the pSeries Tech Forums,
our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software. You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments. Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community. Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Our Sponsors | |
| | |
| Want to advertise? | |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
Hello Friends We want to log messages from network devices especially routers and switches using syslogd service on AIX. I tried by adding this line to /etc/syslog.conf *.alert;*.crit;*.err;*.warn;*.info;*.debug /var/log/testlog I have also attached the packet captured from the switch port on which this server is connected which showing that messages from different servers are coming towards this server but its not logging it. Can anyone please help to how to do this. Thanks in advance for your time and assistance. |
|
#2
| ||||
| ||||
First of all you need to create the logfile (use touch). After that try again :-)
__________________ Ross Mather, IBM AIX IT Specialist. That said anything I say here is my own opinion and not anything that you can ever hold against IBM. Ohhh and don't forget that I make mistakes too.... |
|
#3
| ||||
| ||||
Hi Ross I did the same, log file is present there and it is logging local messages. But its not logging any network message. # cat /var/log/testlog Jul 22 11:05:34 omnibus-03 syslog:info syslogd: restart Jul 22 11:16:16 omnibus-03 syslog:info syslogd: restart Jul 22 11:16:27 omnibus-03 syslog:info syslogd: restart Jul 22 11:16:28 omnibus-03 syslog:info syslogd: restart Jul 22 11:16:30 omnibus-03 syslog:info syslogd: restart Jul 22 11:50:24 omnibus-03 auth|security:info sshd[307302]: Attempt to write login records by non-root user (aborting) Jul 22 12:21:38 omnibus-03 user:info syslog: ifconfig -a Jul 22 15:22:41 omnibus-03 auth|security:info sshd[229626]: Attempt to write login records by non-root user (aborting) |
|
#4
| ||||
| ||||
How are the messages being sent - via SNMP? Is that properly configured?
__________________ Ross Mather, IBM AIX IT Specialist. That said anything I say here is my own opinion and not anything that you can ever hold against IBM. Ohhh and don't forget that I make mistakes too.... |
|
#7
| ||||
| ||||
I'll help point you in the right direction - the rest you are on your own. You need to ddecide and research how you are getting the packets in and where you are to log them. Maybe this will help: pSeries and AIX Information Center
__________________ Ross Mather, IBM AIX IT Specialist. That said anything I say here is my own opinion and not anything that you can ever hold against IBM. Ohhh and don't forget that I make mistakes too.... |
![]() |
| Bookmarks |
| Tags |
| logging, messages, network, syslogd |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |