Hey,
I want to get informations about the traffic of the port 1 from my cisco switch
which understands SNMP. So I installed Nagios, the nagios plugins, snmpd, snmp
and mrtg. I use the check_mrtgtraf command in my switch.cfg to do this.
After installing mrtg like described at
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html I also used cfgmaker to
get my mrtg.cfg file.
This file looks like this:
# Created by
# ./cfgmaker --global "WorkDir: /etc/mrtg" --global "Options[_]:
bits,growright" --output /etc/mrtg/cfg/mrtg.cfg 172.17.1.2
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
WorkDir: /etc/mrtg
Options[_]: bits,growright
######################################################################
# System:
# Description:
# Contact:
# Location:
######################################################################
As the WorkDir says, the log-Files created from mrtg should be in the directory
/etc/mrtg but the only files I find there are three pictures from mrtg.
My Nagios verion is 3.2.0, my nagios plugins version is 1.4.14 and my mrtg
version is 2.16.3.
So what did I do wrong??
Thanks & Regards
Rainhard Schwarzinger
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null