Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Solaris 10 installation configuration mrtg monitoring system     - Linux Log (Linux)

- Basic Java JNI (Programming)

- CentOS7 management of systemd (Linux)

- Linux user groups, file permissions Detailed (Linux)

- Nginx + uWSGI + Django + Python Application Architecture Deployment (Server)

- After installing Ubuntu 15.04, to do a few things (Linux)

- CentOS 6.5 makes the LAN http source (Linux)

- Character Encoding notes: ASCII, Unicode and UTF-8 (Linux)

- MySQL DATE_FORMAT () function (Database)

- Java programmers talk about those advanced knowledge and direction (Programming)

- Configuring s3c-linux-2.6.28.6-Real6410 appears Unable to find the QT3 installation (Linux)

- Linux System Tutorial: How to browse the Linux command line, weather forecast (Linux)

- Using Python multithreaded mistakes summary (Programming)

- Use UDEV SCSI Rules configured ASM on Oracle Linux 5 and 6 (Database)

- Fedora 22 how to play rmvb mp4 mkv video files (Linux)

- xCAT deployment (Linux)

- Introduction to thread pooling and simple implementation (Programming)

- Oracle 11g 10g induced into error (Database)

- Oracle archive log deletion (Database)

- Different between Linux file path and the windows (Linux)

 
         
  Solaris 10 installation configuration mrtg monitoring system
     
  Add Date : 2017-04-13      
         
       
         
  Ensure that the system has been installed and configured apache, net-snmp, gd

1. Install MRTG
#cd / usr / local / www
#gzip -d mrtg-2.16.2.tar.gz
#tar xvf mrtg-2.16.2.tar
#cd mrtg-2.16.2
#. / Configure --with-gd-lib = / usr / local / lib
#make
#make install
#make clean

2. Configure mrtg
Mrtg configuration file into the directory:
/ Var / apache2 / htdocs / mrtg
Creating mrtg configuration file using cfgmaker:
# / Usr / local / mrtg-2 / bin / cfgmaker public@172.23.1.7> mrtg.cfg
Remember to replace your top 172.23.1.7 host name or IP address of my internal test I use 172.23.1.7
Edit mrtg.conf:
#vi mrtg.cfg
WorkDir: / var / apache2 / htdocs / mrtg

3. Generate index.html file:
# / Usr / local / mrtg-2 / bin / indexmaker -title = "mrtg.cn" -output = / var / apache2 / htdocs / mrtg / index.html mrtg.cfg
File copy libgd.so.2
#cp /usr/local/lib/libgd.so.2 / usr / lib
Multi run times:
# / Usr / local / mrtg-2 / bin / mrtg mrtg.cfg
Until no error

4.Check whether the service is started cron
#svcs | grep cron
online 14:35:04 svc: / system / cron: default
Check crontab file
#crontab -l
Create crontab
#export EDITOR = vi
#crontab -e
Join five minutes running time
0,5,10,15,20,25,30,35,40,45,50,55 * * * * / usr / local / mrtg-2 / bin / mrtg / var / apache2 / htdocs / mrtg / mrtg. cfg

5. Well, visit http://172.23.1.7/mrtg
     
         
       
         
  More:      
 
- RHEL7 system making use of OpenStack mirror (Linux)
- How to modify the Linux NIC eth1 to eth0 (Linux)
- APF firewall installation and configuration under Linux (Linux)
- How to choose the first programming language based on the life you want (Programming)
- awk pattern matching (Programming)
- VMware Workstation + Ubuntu 10.04 Download the Android 2.2 source code (Linux)
- MongoDB in bulk timestamp change the date format (Database)
- After you change the GRUB boot disk partition repair (Linux)
- How do I upgrade to Ubuntu 15.04 (Beta) (Linux)
- Java Concurrency -volatile keywords (Programming)
- Linux compression and decompression command (Linux)
- Customize own small private Linux system (Linux)
- Ubuntu install Eclipse for C / C ++ and related configuration (Linux)
- Linux Getting Started Tutorial: How to set up a static MAC address on VMware ESXi virtual machine (Mobile)
- CentOS 7 source code to compile and install PHP5.6 Nginx1.7.9 and MySQL (LNMP build environment) (Server)
- Ubuntu 14.04 CodeBlocks configuration manually compile Boost 1.57.0 (Linux)
- Ubuntu 10.10 install Oracle 10g Installation Guide (Database)
- Linux source code analysis tool (Linux)
- C ++ inheritance and derived (induction principle) (Programming)
- To setup Cocos2dx project under Ubuntu (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.