cisco traffic monitoring

Michael Saldivar mike.saldivar at advocatecreditrepair.com
Wed May 4 23:46:19 CEST 2011


On Wed, May 4, 2011 at 1:17 PM, Nibin VM <nibin.vm at piserve.com> wrote:
> also..anybody can tell me what does the log file we need to specify when we
> use check_mrtgtraf...we don't have any such log file generated on our server
> by cacti....

MRTG and Cacti are different products, and may use different Nagios plugins.

MRTG creates a website, puts the logs in that website's directory, and
dynamically creates graphs based on the log data.  On my Ubuntu
Nagios/MRTG machine, the logs & web pages are in /var/www/mrtg.

Each port gets its own log, so for instance on my switch 10.5.10.4,
port 15, the log file is:

nagios at itweb1:/var/www/mrtg$ ls -l 10.5.10.4_15.log
-rw-r--r-- 1 root root 74442 2011-05-04 15:40 10.5.10.4_15.log

and the service bandwidth check in Nagios is:

define service{
        use                     generic-service ; Inherit values from a template
        host_name               switch-CoreA
        service_description     Port15
        check_command
check_local_mrtgtraf!/var/www/mrtg/10.5.10.4_15.log!AVG!1000000,1000000!5000000,5000000!10
        }

I haven't used Cacti, so can't offer tips there.

-Mike

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list