Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Solaris 10 installation configuration mrtg monitoring system     - Ubuntu 14.04 build Hadoop 2.5.1 standalone and pseudo-distributed environment (32-bit) (Server)

- Cooling solutions Ubuntu system (Linux)

- Linux file permissions chmod chown (Linux)

- Inherent limitations of Linux systems network security (Linux)

- Valgrind * not * leak check tool (Linux)

- DataGuard add temporary data files bug (Database)

- How do I upgrade to Ubuntu 15.04 (Beta) (Linux)

- Linux use additional rights (Linux)

- Shell Script: create a function and specify a directory for download (Programming)

- Linux security settings Notes (Linux)

- How to ensure that the Internet will not be attacked (Linux)

- Oracle table space create large files (Database)

- How to Install Telegram instant messaging software on Ubuntu (Linux)

- Linux dd command make U disk boot disk (Linux)

- Android Studio utility plug organize, create sharp artifact (Programming)

- ElasticSearch basic usage and cluster structures (Server)

- 12 kinds of detection of CPU information on a Linux system tools (Linux)

- linux system optimization and security configuration (Linux)

- DRBD + Heartbeat solve NFS single point of failure (Server)

- Differential test piece using MongoDB performance YCSB (Database)

 
         
  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:      
 
- GCC and gfortran write MEX program (Matlab2012a) under Ubuntu 14.04 (Programming)
- Single list summarizes the basic operation (Programming)
- Oracle table space rename and delete table space (Database)
- Linux garbled file delete method (Linux)
- C ++ Const breaking rules (Programming)
- How do you change the default browser and Email Client in Ubuntu (Linux)
- First start with Kali Linux 2.0 (Linux)
- MySQL my.cnf sql_mode schema modifications (Database)
- Build RubyMine + Ruby On Rails + MySQL development environment under Windows (Server)
- The Oracle VM VirtualBox use U disk under ubuntu (Linux)
- How to view information about the installed version of CentOS (Linux)
- Oracle 11g RAC automatically play GI PSU patch (11.2.0.4.8) (Database)
- Samba public folder permissions (Server)
- To achieve a two-way static NAT stateless available modules on Linux (Linux)
- Vim Common Command Summary (Linux)
- Android media library of analysis: MediaProvider (Programming)
- Simple to use multi-threaded programming under Linux mutex and condition variable (Programming)
- Swift used in the application to add a local push at the specified time (Programming)
- Linux character device - user mode and kernel mode data transfer data (Linux)
- Installation Enpass secure password manager on Ubuntu (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.