HP Host Intrusion Detection System (HIDS) manual Example, 208

Models: Host Intrusion Detection System (HIDS)

1 270
Download 270 pages 6.58 Kb
Page 220
Image 220

The idsagent Command

The idsagent Command

Error messages are written to the error log file, as defined in the configuration parameter IDS_ERRORFILE. The messages in the IDS_ERRORFILE file are also sent to the HP-UX HIDS System Manager, idsgui, if it is running on the administration system.

If the -dand -loptions are also specified, the error messages are also written to the debug log file.

By default, IDS_ERROR_FILE is set to /var/opt/ids/error.log. See “Global Configuration” on page 206 and ids.cf (5).

 

-ldlogfile

 

 

 

Append debug logging messages to the file named dlogfile. If the file

 

 

does not exist, it is created.

 

 

dlogfile should be a full path name, as the idsagent processes

 

 

change directories before logging commences. If idsagent cannot

 

 

create or append to dlogfile, an error is reported and idsagent exits

 

 

immediately.

 

-p

Run in foreground connected to the controlling terminal.

 

 

By default, if -pis omitted, idsagent detaches from the controlling

 

 

terminal and runs in the background.

Example

For more detailed troubleshooting, run the idsagent process and all subprocesses with

 

full debugging. Log all messages to the file /tmp/debug_logfile:

/opt/ids/bin/idsagent -c 1 -d -e -l /tmp/debug_logfile

208

Appendix C

Page 220
Image 220
HP Host Intrusion Detection System (HIDS) manual Example, 208