LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-24-2014, 07:49 AM   #1
sagar666
Member
 
Registered: Feb 2013
Posts: 212

Rep: Reputation: Disabled
In nagios check_mrtgtraf: Unable to open MRTG log file


Hi configured nagios to monitor switch but am getting following message

type : unknow
Status information : check_mrtgtraf: Unable to open MRTG log file

my configuaration

define service{
use generic-service ; Inherit values from a template
host_name BGL16-CORE-QA-1
service_description Port 1 Bandwidth Usage
check_command check_local_mrtgtraf!/var/lib/mrtg/10.106.182.130_1.log!AVG!1000000,1000000!5000000,5000000!10
}
 
Old 01-24-2014, 09:51 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,662

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by sagar666 View Post
Hi configured nagios to monitor switch but am getting following message

type : unknow
Status information : check_mrtgtraf: Unable to open MRTG log file

my configuaration

define service{
use generic-service ; Inherit values from a template
host_name BGL16-CORE-QA-1
service_description Port 1 Bandwidth Usage
check_command check_local_mrtgtraf!/var/lib/mrtg/10.106.182.130_1.log!AVG!1000000,1000000!5000000,5000000!10
}
Did you read/understand the message? It's obviously having a problem with the MRTG log file...either permissions or location are wrong. Amazingly, looking this up gives you many solutions...even from the Nagios forums. Did you try?
http://support.nagios.com/forum/view...hp?f=7&t=11750
http://community.spiceworks.com/topi...-mrtg-log-file
http://exchange.nagios.org/directory...Nagios/details
http://linuxbasement.com/content/mrtg-ubuntu-server
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to log in to Nagios web interface hodgey87 Linux - Software 4 12-17-2013 05:53 AM
Log file correlator+Nagios pudhiyavan Linux - Software 1 09-26-2008 12:37 PM
please help me to make log file in mrtg in fedora core 5 dencar_girl87 Linux - Networking 1 07-02-2008 02:57 AM
Nagios and check_mrtgtraf geoffm33 Linux - General 1 05-27-2007 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration