Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Solaris 10 installation configuration mrtg monitoring system     - How to use the DM-Crypt encryption Linux File System (Linux)

- Acting on JavaScript events (Programming)

- Use in Linux ipmitool tool (Linux)

- C ++ constant definition (Programming)

- Teach you to diagnose problems with strace (Linux)

- Udev: Device Manager for Linux Fundamentals (Linux)

- The basic principles of AIX system security (Linux)

- Ubuntu 14.04 virtual machine switching desktop environments (Linux)

- Linux operating system Study Notes (Linux)

- To install Python-Pip and Fabric under CentOS / Ubuntu (Linux)

- Ubuntu 15.04 and CentOS 7 to deploy .NET, Mono and DNX (Server)

- How apt-get limited use IPv4 or IPv6 protocol to download (Linux)

- Java Foundation - Variables and data types (Programming)

- Shell programming entry (Programming)

- Arrow keys, backspace key garbled in Python-2.7.5 Interactive Mode under CentOS 5.8 (Linux)

- The ActiveMQ JMS installation and application examples for Linux (Linux)

- Analyzing Linux server architecture is 32-bit / 64-bit (Server)

- Nodejs complete installation instructions for Express (Linux)

- Java NIO The Glob mode Detailed (Programming)

- What Java 8 fastest garbage collector (Programming)

 
         
  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:      
 
- MySQL stored procedures execute dynamic sql statement (Database)
- Safe learning through self-extracting package to achieve invasion (Linux)
- VirtualBox install Windows 8.1 has encountered an error 0x000000C4 solutions (Linux)
- VNC configuration detailed analysis under Linux (Linux)
- Terminal fun: 6 interesting Linux command-line tools (Linux)
- Java static code analysis tool Infer (Programming)
- How a lot of blocking malicious IP address in Linux (Linux)
- In Spring AOP example explanation (Programming)
- Using Linux stat command to view the files (Linux)
- MySQL various log summary (Database)
- Linux system package manager -RPM (Linux)
- Linux kernel likely and unlikely to resolve macro definitions (Linux)
- Share and show your code on GitHub (Linux)
- Java Network Programming Internet address lookup (Programming)
- Linux shell script debugging (Linux)
- Linux file compression and archiving (Linux)
- Five kinds of IO Model under Linux (Programming)
- The difference between equals and == in Java (Programming)
- Configuring Android NDK development environment for Mac OS X (Linux)
- MongoDB collection data migration to MySQL database (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.