objects.cfg

In objects.cfg, you specify system objects to be monitored.

For example, if you wish to monitor system files' ownerships and permissions, you might have an objects.cfg #include file:

///////////////////////////////////////////////////////////////////////////////
//
// files_system_suse_linux_objects.cfg
//
///////////////////////////////////////////////////////////////////////////////

#if suse

FilesSystem

#indent

/bin/dd -rwxr-xr-x 755 0 0 root root
/bin/cp -rwxr-xr-x 755 0 0 root root
/bin/df -rwxr-xr-x 755 0 0 root root
/bin/ed -rwxr-xr-x 755 0 0 root root
/bin/ln -rwxr-xr-x 755 0 0 root root
/bin/ls -rwxr-xr-x 755 0 0 root root
/bin/mv -rwxr-xr-x 755 0 0 root root
/bin/ps -rwxr-xr-x 755 0 0 root root
/bin/rm -rwxr-xr-x 755 0 0 root root
/bin/su -rwsr-xr-x 4755 0 0 root root

...

/usr/include/wbxml_buffers.h -rw-r--r-- 644 0 0 root root
/usr/include/scdb_util.h -rw-r--r-- 644 0 0 root root
/usr/include/memory.h -rw-r--r-- 644 0 0 root root
/usr/include/EST_dynamic_model.h -rw-r--r-- 644 0 0 root root
/usr/include/nstring.h -rw-r--r-- 644 0 0 root root

#unindent

#endif  // suse

///////////////////////////////////////////////////////////////////////////////
In objects.cfg (or any of its #include files), the form of an objects stanza is
<objects>       <object>
                <object>
                 ...
Object listings can also encompass data parameters:
<objects>       <object> <parameter1> <parameter2> ...
                <object> <parameter1> <parameter2> ...
                  ...
Refer to the sample objects.cfg for more examples.

prev page 1st page next page
 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
HTML text
appearance
macros