LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MRTG installation help needed. (https://www.linuxquestions.org/questions/linux-newbie-8/mrtg-installation-help-needed-794648/)

pinga123 03-11-2010 05:03 AM

MRTG installation help needed.
 
Hi guys i have done most of the setup for MRTG network monitor tool.

But i m stuck at configuration part.

the actual MRTG guide says following.

I m little confused about what should i put inplace of community@router.abc.xyz.
Your help is highly appreciated.

Quote:

The next step is to configure mrtg for monitoring a network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily, you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.

cfgmaker --global 'WorkDir: /home/httpd/mrtg' \
--global 'Options[_]: bits,growright' \
--output /home/mrtg/cfg/mrtg.cfg \
community@router.abc.xyz


This example above will create an mrtg config file in /home/mrtg/cfg assuming this is a directory visible on your webserver. You can read all about cfgmaker in cfgmaker. One area you might want to look at is the possibility of using --ifref=ip to prevent interface renumbering troubles from catching you.

If you want to start rolling your own mrtg configuration files, make sure you read mrtg-reference to learn all about the possible configuration options.

jamescondron 03-11-2010 05:06 AM

As it says, point it at your router. Are you sure you want to be doing this? As rude as this may sound, if you're struggling at this stage that suggests a gap in your understanding. This can only be amplified at a later stage in either building the thing or using it.

Consider if you even need MRTG; its not particularly good, there are far better tools, with far wider features.


All times are GMT -5. The time now is 12:09 AM.