Operating System - HP-UX
1753747 Members
5088 Online
108799 Solutions
New Discussion юеВ

mrtg on a hp-ux 11.11 system

 
Co van Berkel
Regular Advisor

mrtg on a hp-ux 11.11 system

Hi,
I want to run mrtg on a hp-ux 11.11 system.

1) I downloaded the following depots:
(From "http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/")
- bison-2.0-sd-11.11.depot
- libiconv-1.9.2-sd-11.11.depot
- db-4.2.52-sd-11.11.depot
- libpng-1.2.7-sd-11.11.depot
- flex-2.5.4a-sd-11.11.depot
- freetype-2.1.9-sd-11.11.depot
- mrtg-2.10.15-sd-11.11.depot
- gcc-3.4.3-sd-11.11.depot
- xpm-3.4k-sd-11.11.depot
- gd-2.0.32-sd-11.11.depot
- zlib-1.2.2-sd-11.11.depot
- jpeg-6b-sd-11.11.depot

2) Then I installed them, in this order:
- freetype-2.1.9-sd-11.11.depot
- gd-2.0.32-sd-11.11.depot
- jpeg-6b-sd-11.11.depot
- libiconv-1.9.2-sd-11.11.depot
- libpng-1.2.7-sd-11.11.depot
- xpm-3.4k-sd-11.11.depot
- zlib-1.2.2-sd-11.11.depot
- mrtg-2.10.15-sd-11.11.depot
- flex-2.5.4a-sd-11.11.depot
- bison-2.0-sd-11.11.depot
- gcc-3.4.3-sd-11.11.depot
- db-4.2.52-sd-11.11.depot

3) /usr/local/bin/cfgmaker --global 'WorkDir: /home/mrtg/cfg '\
--global 'Options[_]: bits,growright'\
--output /home/mrtg/cfg/mrtg.cfg \
public@

4) /usr/local/bin/mrtg /home/mrtg/cfg/mrtg.cfg

Then I get the error message's:
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libfontconfig.sl
/usr/lib/dld.sl: No such file or directory
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 6
with Exit Value 0 when doing router '_1'
Signal was 6, Returncode was 0
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libfontconfig.sl
/usr/lib/dld.sl: No such file or directory
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 6
with Exit Value 0 when doing router '_2'
Signal was 6, Returncode was 0
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libfontconfig.sl
/usr/lib/dld.sl: No such file or directory
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 6
with Exit Value 0 when doing router '_4'
Signal was 6, Returncode was 0

What am I doeing wronhg here?

Rgrds CvB
7 REPLIES 7
Geoff Wild
Honored Contributor

Re: mrtg on a hp-ux 11.11 system

Does /usr/local/lib/libfontconfig.sl exist?

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.
Co van Berkel
Regular Advisor

Re: mrtg on a hp-ux 11.11 system

Hi,
No ...

What now?

Rgrds CvB
Geoff Wild
Honored Contributor

Re: mrtg on a hp-ux 11.11 system

Strange - I don't have it either - but mrtg works for me...

I had installed: mrtg-2.10.13-sd-11.00.depot

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.
Geoff Wild
Honored Contributor

Re: mrtg on a hp-ux 11.11 system

Looking back in my history, I installed:

-rw-r----- 1 root sys 2160640 May 6 2004 mrtg-2.10.13-sd-11.00.depot
-rw-r----- 1 root sys 30699520 May 6 2004 HPUXWSATW-A203-1100.depot
-rw-r----- 1 root sys 327680 May 6 2004 xpm-3.4k-sd-11.00.depot
-rw-r----- 1 root sys 778240 May 6 2004 gd-2.0.23-sd-11.00.depot
-rw-r----- 1 root sys 2222080 May 6 2004 libiconv-1.9.2-sd-11.00.depot
-rw-r----- 1 root sys 4208640 May 6 2004 freetype-2.1.4-sd-11.00.depot
-rw-r----- 1 root sys 696320 May 6 2004 jpeg-6b-sd-11.00.depot


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.
Geoff Wild
Honored Contributor

Re: mrtg on a hp-ux 11.11 system

Here's the mrtg cfg I was using...

# cat mrtg.cfg
EnableIPv6: no
LoadMIBs: /usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt
WorkDir: /opt/hpws/apache/htdocs/mrtg/
Options[_]: bits,growright

######################################################################
# System: sha1
# Description: HP-UX sha1 B.11.11 U 9000/785 2012953216
# Contact:
# Location:
######################################################################


RunAsDaemon: no
Interval: 5

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

# Email an ...
PageTop[$]:
Questions and references Geoff Wild.

### End of Global Config Options

######################################################################


Target[sha1.mydomain.comcpup]:.1.3.6.1.4.1.11.2.3.1.1.15.0&.1.3.6.1.4.1.11.2.3.1.1.13.0:public@sha1.mydomain.com + .1.3.6.1.4.1.11.2.3.1.1.16.0&.1.3.6.1.4.1.11.2.3.1.1.14.0:public@sha1.mydomain.com
Title[sha1.mydomain.comcpup]: CPU Load on sha1.mydomain.com
MaxBytes[sha1.mydomain.comcpup]: 100
Ylegend[sha1.mydomain.comcpup]: CPU Load
ShortLegend[sha1.mydomain.comcpup]: %
PageTop[sha1.mydomain.comcpup]:

CPU Load on sha1.mydomain.com


Options[sha1.mydomain.comcpup]: integer, growright, nopercent
WithPeak[sha1.mydomain.comcpup]: wmy
LegendO[sha1.mydomain.comcpup]: User/System:  
LegendI[sha1.mydomain.comcpup]: Idle/Nice:  
Legend1[sha1.mydomain.comcpup]: Idle/Nice CPU Time
Legend2[sha1.mydomain.comcpup]: User/System CPU Time
Legend3[sha1.mydomain.comcpup]: Maximal Idle/Nice CPU Time
Legend4[sha1.mydomain.comcpup]: Maximal User/System CPU Time

######################################################################

Target[sha1.mydomain.commem]: .1.3.6.1.4.1.11.2.3.1.1.7.0&.1.3.6.1.4.1.11.2.3.1.1.8.0:public@sha1.mydomain.com
Title[sha1.mydomain.commem]: Memory on sha1.mydomain.com
MaxBytes[sha1.mydomain.commem]: 100000000
Ylegend[sha1.mydomain.commem]: Memory Usage
ShortLegend[sha1.mydomain.commem]:  
PageTop[sha1.mydomain.commem]:

Memory on sha1.mydomain.com


Options[sha1.mydomain.commem]: integer, gauge, growright, nopercent
kilo[sha1.mydomain.commem]: 1024
WithPeak[sha1.mydomain.commem]: wmy
LegendO[sha1.mydomain.commem]: Total:  
LegendI[sha1.mydomain.commem]: Free:  
Legend1[sha1.mydomain.commem]: Free System Memory
Legend2[sha1.mydomain.commem]: Total Available System Memory
Legend3[sha1.mydomain.commem]: Maximal Available System Memory
Legend4[sha1.mydomain.commem]: Maximal Free System Memory

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.
Co van Berkel
Regular Advisor

Re: mrtg on a hp-ux 11.11 system

Hi Geoff,
I installed also, but no result:
- m4-1.4.2-sd-11.11.depot
- gettext-0.14.1-sd-11.11.depot

I see three major differences in versions.
You installed:
- mrtg-2.10.13-sd-11.00.depot
- gd-2.0.23-sd-11.00.depot
- freetype-2.1.4-sd-11.00.depot

I installed:
- mrtg-2.10.15-sd-11.11.depot
- gd-2.0.32-sd-11.11.depot
- freetype-2.1.9-sd-11.11.depot

Can this be the problem?
Where can I download the versions you installed/used?

For me it is new to install a lot of extra software before you can use/install the product I need? (mrtg)

Rgrds CvB
Co van Berkel
Regular Advisor

Re: mrtg on a hp-ux 11.11 system

Hi,

I had to install also:
- expat-1.95.8-sd-11.11.depot
- fontconfig-2.2.98-sd-11.11.depot

After that al worked.

Now I will try to uninstall as many products as posible.....

RgRds CvB