Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to write code for a Logging Event? Post 302580121 by theKbStockpiler on Wednesday 7th of December 2011 02:43:58 PM
Old 12-07-2011
Thanks for the Reply!

I would like to thank you again also for the help with emulation.

What is the technical term for writing the code that sources the log files like klogd and syslogd? I run my own code that oversees how my programs intentions panned out, then I use a logger command correct?

What system resources aide in determining if an error has occurred? Proc, Trace , OOP events and what else?


I expect to find a lot of intentional documents on this subject but it looks like everyone must just wing it.
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How does Unix write events into event log?

Hi to everyone. I'm new to this forum and also pretty new to Unix. I'm developing a cross-platform software and I need to register informational and error messages into the event log of the system. Under Windows, this is implemented so far, I need to implement it unded Unix by now. I do know that... (7 Replies)
Discussion started by: mariano_donati
7 Replies

2. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

3. Shell Programming and Scripting

Event logging to file and display to console | tee command is not able to log all info.

My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies

4. Shell Programming and Scripting

Logging success event into file

Hi, I've the following code to log the errors any after the command is executed. # Ksh 88 Version log_path=/home/etc/fls/fls_log.log del_path=/home/etc/fls/to_day rm $del_path/* >> $log_path 2>&1 But I even want to log if the rm command is success without any error along with... (1 Reply)
Discussion started by: smile689
1 Replies

5. Linux

Syslog not logging successful logging while unlocking server's console

When unlocking a Linux server's console there's no event indicating successful logging Is there a way I can fix this ? I have the following in my rsyslog.conf auth.info /var/log/secure authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies
aide(1) 						      General Commands Manual							   aide(1)

NAME
aide - Advanced Intrusion Detection Environment SYNOPSIS
aide [parameters] command DESCRIPTION
aide is an intrusion detection system for checking the integrity of files. COMMANDS
--check, -C Checks the database for inconsistencies. You must have an initialized database to do this. This is also the default command. Without any command aide does a check. --init, -i Initialize the database. You must initialize a database and move it to the appropriate place before you can use the --check command. --update, -u Checks the database and updates the database non-interactively. The input and output databases must be different. --compare Compares two databases. They must be defined in configfile with database=<url> and database_new=<url>. --config-check, -D Stops after reading in the configuration file. Any errors will be reported. If aide was compiled with the "--with-dbhmackey" option, a hash for the config file will be calculated. See the aide manual for more information. PARAMETERS
--config=configfile , -c configfile Configuration is read from file configfile instead of "./aide.conf". Use '-' for stdin. --before="configparameters" , -B "configparameters" These configparameters are handled before the reading of the configuration file. See aide.conf (5) for more details on what to put here. --after="configparameters" , -A "configparameters" These configparameters are handled after the reading of the configuration file. See aide.conf (5) for more details on what to put here. --verbose=verbosity_level,-Vverbosity_level Controls how verbose aide is. Value must [0-255]. The default is 5. With no argument Value is set to 20. This parameter overrides the value set in a configuration file. --report=reporter,-r reporter reporter is a URL which tells aide where to send it's output. See aide.conf (5) section URLS for available values. --version,-v aide prints out its version number --help,-h Prints out the standard help message. DIAGNOSTICS
Normally, the exit status is 0 if no errors occurred. Except when the --check command was requested, in which case the exit status is defined as: 1 * (new files detected?) + 2 * (removed files detected?) + 4 * (changed files detected?) Additionally, the following exit codes are defined for generic error conditions: 14 Error writing error 15 Invalid argument error 16 Unimplemented function error 17 Invalid configureline error 18 IO error 19 Version mismatch error NOTES
Please note that due to mmap issues, aide cannot be terminated with SIGTERM. Use SIGKILL to terminate. FILES
/etc/aide/aide.conf Default aide configuration file. /etc/aide/aide.conf.d Config snippets which are automatically concatenated to the configuration file by update-aide.conf. This is a Debian extension. aide.db Default aide database. aide.db.new Default aide output data- base. SEE ALSO
aide.conf(5) http://www.cs.tut.fi/~rammer/aide/manual.html BUGS
There are probably bugs in this release. Please report them at http://sourceforge.net/projects/aide and to the Debian BTS. Bug fixes are more than welcome. Unified diffs are preferred. DISCLAIMER
All trademarks are the property of their respective owners. No animals were harmed while making this webpage or this piece of software. Although some pizza delivery guy's feelings were hurt. aide(1)
All times are GMT -4. The time now is 02:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy