Operating System - HP-UX
1833465 Members
2526 Online
110052 Solutions
New Discussion

Automatically capture HPUX system and application information

 
SOLVED
Go to solution
Jay_122
Advisor

Automatically capture HPUX system and application information

Are there scripts that capture HPUX system and application information (including software not installed by software distributor)? I would like to set up a cron job to do this. Any help would be appreciated.
4 REPLIES 4
Geoff Wild
Honored Contributor

Re: Automatically capture HPUX system and application information

The following may help - but for software not installed by SD - will require scripting on your part...

http://come.to/cfg2html

Run from cron like so:

#Run the cfg2html cripts
35 6 1 * * cd /opt/cfg2html ; /opt/cfg2html/cfg2html_hpux.sh >/dev/null 2>&1

Attached is sysinfo3.01

Run from cron like so:
# Run the sysinfo script
0 6 1 * * /usr/local/sysinfo/sysinfo -a -b -o /usr/tmp/`hostname`.sysinfo >/tmp/sysinfo.cron 2>&1

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor
Solution

Re: Automatically capture HPUX system and application information

The script I am attaching does part of the job.

It nicely documents the system.


Its hard to document non-depot software because it kind of gets installed all over the place.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
harry d brown jr
Honored Contributor

Re: Automatically capture HPUX system and application information


If software is installed by means other than swinstall, then there are no methods to capture such other than manually keeping track of all files (size, checksum, date last modified, ...). Maybe you want to turn auditing on??

For system stuff, you can usually get away with using print_manifest.

0 12 * * * /opt/ignite/bin/print_manifest | uuencode pm.txt | mailx -m -s "pm" youremailname@yourdomain.com


live free or die
harry d brown jr
Live Free or Die
Jay_122
Advisor

Re: Automatically capture HPUX system and application information

Thanks to all.