Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Solaris 10 installation configuration mrtg monitoring system     - C # how to generate a folder or file automatically rename (Programming)

- Monitoring Linux System 7 command-line tool (Linux)

- Redis configuration file interpretation (Database)

- Inject script commands manually annotated summary (Linux)

- Python kills corresponding process according to pid (Programming)

- To install MySQL on Linux (Database)

- Configuring Haproxy log support (syslog logging support) (Server)

- Linux file system data file deletion problem space is not freed (Database)

- Use Git in Eclipse (Linux)

- Linux operation and maintenance engineers face questions Intermediate (Linux)

- Shell generated using automated configuration script Orabbix (Database)

- CentOS 6.5 installation Python3.0 (Linux)

- Linux delete duplicate files Artifact: dupeGuru (Linux)

- Network traffic monitoring ntopng (Linux)

- After installation of Debian 6.0 do a few things first (Linux)

- Linux atomic operations and synchronization mechanisms (Programming)

- To install Samba server on CentOS 6.6 (Server)

- Using Maven to download Spring (Linux)

- CentOS 6.5 can not connect to the network under VMware (Linux)

- Understand the security restore accidentally deleted critical system files (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:      
 
- Linux Command Tutorial: Ubuntu apt-get command (Linux)
- Linux system security reinforcement system by masquerading method (Linux)
- Linux FTP setting file description (Server)
- Configuring Proxy on a Unix terminal, accelerate Android Studio Construction (Linux)
- Java, boolean operators & =, | = ^ = use (Programming)
- Install Java 8 on Ubuntu using PPA (Linux)
- Use nice, cpulimit and cgroups limit cpu usage (Linux)
- expdp / impdp use version parameter data migration across versions (Database)
- VMware Workstation + Ubuntu 10.04 Download the Android 2.2 source code (Linux)
- Use libcurl library download url image (Programming)
- CentOS 6.6 x64 Oracle Database 11gR2 RAC automated installation scripts (Database)
- Modifying the system registry protection server security (Linux)
- Linux Network Programming --epoll model Detailed principles and examples (Programming)
- Use Vagrant build cross-platform development environment for Python (Server)
- Ubuntu 14.10 / 14.04 / 12.04 How to install Kodi 14.0 RC3 (Linux)
- Ubuntu 15.10 15.04 14.10 14.04 Install Ubuntu Tweak (Linux)
- C ++ pointer two third memory model (Programming)
- Linux file and directory management - ls, cp, mv (Linux)
- Swift rewrite initialize method of navigation controller class (Programming)
- Detailed reference Oracle 11g Partition (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.