HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: auditing
Operating System - HP-UX
1833862
Members
2362
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 03:14 AM
09-14-2007 03:14 AM
auditing
Hi,
I am trying to configure auditing on a hpux 11iV1 server. I have created two 500mb filesystems for the log files. I want auditing to fill /audit1 then switch to /audit2, when /audit2 is full to switch back to /audit1 and overwrite it. Is this possible?
My current config in /etc/rc.config.d/auditing is below, but with this config when audfile 2 is full it doesn't switch just writes to console and hangs the server.
AUDITING=1
PRI_AUDFILE=/audit1/audfile1
PRI_SWITCH=450000
SEC_AUDFILE=/audit2/audfile2
SEC_SWITCH=450000
AUDEVENT_ARGS1=" -P -F -e moddac -e login -e admin"
AUDEVENT_ARGS2=""
AUDEVENT_ARGS3=""
AUDEVENT_ARGS4=""
AUDOMON_ARGS=" -p 4 -t 1 -w 95"
Thanks and regards,
Ed
I am trying to configure auditing on a hpux 11iV1 server. I have created two 500mb filesystems for the log files. I want auditing to fill /audit1 then switch to /audit2, when /audit2 is full to switch back to /audit1 and overwrite it. Is this possible?
My current config in /etc/rc.config.d/auditing is below, but with this config when audfile 2 is full it doesn't switch just writes to console and hangs the server.
AUDITING=1
PRI_AUDFILE=/audit1/audfile1
PRI_SWITCH=450000
SEC_AUDFILE=/audit2/audfile2
SEC_SWITCH=450000
AUDEVENT_ARGS1=" -P -F -e moddac -e login -e admin"
AUDEVENT_ARGS2=""
AUDEVENT_ARGS3=""
AUDEVENT_ARGS4=""
AUDOMON_ARGS=" -p 4 -t 1 -w 95"
Thanks and regards,
Ed
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 03:57 AM
09-14-2007 03:57 AM
Re: auditing
Ed,
Unix doesn't work that way, overwriting files unless you specifically tell it to overwrite a certain file by name.
If you were able to get it to point back at /audit1 it would hang just as well as it did on /audit2.
You would have to have some logic that removed all the data in /audit1 before you pointed there again.
Unix doesn't work that way, overwriting files unless you specifically tell it to overwrite a certain file by name.
If you were able to get it to point back at /audit1 it would hang just as well as it did on /audit2.
You would have to have some logic that removed all the data in /audit1 before you pointed there again.
Unix, the other white meat.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2007 04:01 AM
09-14-2007 04:01 AM
Re: auditing
Couldn't you just write a script to monitor so that when audfile2 starts being written to you clear out audfile1 (size=0) and run command audsys -x audfile1 [this should reset audfile1 as NEXT]
Then when audfile1 start again to be written to, you clear out audfile2. It should actually continue to auto flip to audfile2 based on the auditing config file.
Just a quick thought for you to test/play with.
Rgrds,
Rita
Then when audfile1 start again to be written to, you clear out audfile2. It should actually continue to auto flip to audfile2 based on the auditing config file.
Just a quick thought for you to test/play with.
Rgrds,
Rita
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP