Operating System - HP-UX
1833355 Members
3789 Online
110051 Solutions
New Discussion

MRTG and GCC for HPUX 11.11

 
SOLVED
Go to solution
Jay_122
Advisor

MRTG and GCC for HPUX 11.11

Anyone know where I can get a compiled version of MRTG and GCC for HPUX 11.11?
4 REPLIES 4
Mel Burslan
Honored Contributor
Solution

Re: MRTG and GCC for HPUX 11.11



MRTG:

http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/mrtg-2.10.13/

GCC:

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.3.2/

HTH
________________________________
UNIX because I majored in cryptology...
Geoff Wild
Honored Contributor

Re: MRTG and GCC for HPUX 11.11

Don't know if you are interested, but I've been playing with MRTG - here's my mrtg.cfg file if you want to test...

The disk part reads a file generated from the following out of cron every 5 minutes:

# cat /usr/local/bin/mrtg-disk
#!/bin/sh

# check root disk on $SERVER

SERVER=`uname -n`
LOG=/tmp/$SERVER.disk.mrtg

# MRTG scripts are supposed to print 4 values, each on a line. The first
# two are the 2 that are graphed. The third is a string showint the uptime
# "in any human readable format". The fourth is "the name of the target".
df -k / |grep "total allocated" |awk '{print $5/1024}' >$LOG
df -k / |grep "free allocated" |awk '{print $1/1024}' >>$LOG
uptime | awk '{print $3,$4,$5}' |sed s/,//g >>$LOG
echo $SERVER >>$LOG


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.
Jon Wentworth
New Member

Re: MRTG and GCC for HPUX 11.11

Here's some more MRTG stuff - pretty much the same as Geoff's, but with direct polling on the disk vols.

Cheers,
Jay_122
Advisor

Re: MRTG and GCC for HPUX 11.11

Thanks for all the info.