- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MRTG Configuration..
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 11:18 AM
01-03-2003 11:18 AM
MRTG Configuration..
Thanks in advance.
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 11:25 AM
01-03-2003 11:25 AM
Re: MRTG Configuration..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 11:34 AM
01-03-2003 11:34 AM
Re: MRTG Configuration..
Great man......if it works fine on NT machine, can you help me where can I get the NT version of MRTG?
Thanks,
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 11:45 AM
01-03-2003 11:45 AM
Re: MRTG Configuration..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 11:50 AM
01-03-2003 11:50 AM
Re: MRTG Configuration..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 12:20 PM
01-03-2003 12:20 PM
Re: MRTG Configuration..
it gives follwing error.
Snicker.cfg is the config file created for one of our HP machine.
Can't locate package $VERSION for @MRTG_lib::ISA at /usr/local/bin/mrtg line 59
main::BEGIN() called at /usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 59
eval {...} called at /usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 59
ERROR: unable to open config file: /home/hpux/cfg/snicker.cfg
if possible, please provide me exact syntex to create config file for any machine, I want to monitor CPU usage, memory and other general resources.
One more thing I have installed following supported softwares on my machine to support MRTG.
ethereal 0.9.8 ethereal
freetype 2.1.2 freetype
gcc 3.2 gcc
gd 1.8.4 gd
gettext 0.11.5 gettext
gtk+ 1.2.10 gtk+
jpeg 6b jpeg
libiconv 1.8 libiconv
libpcap 0.7.1 libpcap
libpng 1.2.4 libpng
mrtg 2.9.20 mrtg
perl 5.8.0 perl
xpm 3.4k xpm
zlib 1.1.4 zlib
Thanks,
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 01:30 PM
01-03-2003 01:30 PM
Re: MRTG Configuration..
This is a sample configuration file I am using.
..............
WorkDir: /home/mrtg/html/data/everest
Target[cpu.us]:`remsh everest -l mrtguser cat /home/mrtg/bin/cpuus.log`
MaxBytes[cpu.us]: 150
Options[cpu.us]: gauge, nopercent
Title[cpu.us]: EVEREST CPU Usage
PageTop[cpu.us]:
EVEREST CPU (SYSTEM Vs USER>)
#WithPeak[cpu.us]: dwmy
YLegend[cpu.us]: CPU (USR vs SYS)
LegendI[cpu.us]: User
LegendO[cpu.us]: Sys
.............
In the above on "everest" I generate sar data into a file called /home/mrtg/bin/cpuus.log using a script called /home/mrtg/bin/get_sar.sh
#!/usr/bin/ksh
LOG=/home/mrtg/bin/cpuus.log
rm $LOG
for I in $(sar -u 2 5 | awk '/Average/ {print $2,$3}')
do
echo $I >> $LOG
done
echo 0 >> $LOG
echo 0 >> $LOG
I schedule get_sar.sh to run every 5mins starting at 3 min on everest.
I run "/home/mrtg/bin/mrtg /home/mrtg/bin/cfg/everest.cfg" every 5mins starting at 5 min on the mrtg server. This way I won't miss data on 'everest'. You can repeat the same procedure for any number of servers you have.
If your mrtg is not working, please post your email address and I can send my mrtg binaries to you. I compiled them and they are working fine.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 02:04 PM
01-03-2003 02:04 PM
Re: MRTG Configuration..
Thanks for the prompt responses. However, I Just need to have fresh copy of MRTG if you have. because I think , I have corrupted version of MRTG. If you have installatble version of MRTG for HP_UX , please send me the copy at
piyush.prajapati@neustar.biz
, I will really appreciate your help.
Thanks,
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 03:12 PM
01-03-2003 03:12 PM
Re: MRTG Configuration..
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/
You sound like you had a perl install problem (either base perl, or the dependencies for MRTG):
Can't locate package $VERSION for @MRTG_lib::ISA at /usr/local/bin/mrtg line 59
Did you move parts of mrtg around after you built it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 03:14 PM
01-03-2003 03:14 PM
Re: MRTG Configuration..
I sent you the mrtg binaries. Let me know if it doesn't work.
-Sri