LinuxQuestions.org
Help answer threads with 0 replies.
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 11-20-2012, 03:52 AM   #1
pRemade
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Rep: Reputation: Disabled
NAGIOS: Mrtg_log unable to open and problems with snmp.cfg


Hello, i'm new to the linux world and this forum so please keep that in mind.

I'm currently configurating a NAGIOS server from scrath, and i've been able to do a lot by myself and guides on the internet. But i've stumbled upon two problems.

One: In the WEB gui for nagios i see an error on my switch. I'm trying to monitor the Bandwidth usage on port one ( will add more ports later on when i get this problem fixed)
The error says; check_mrtgtraf: Unable to open MRTG log file

I've tried to create this logfile by using this guide:

http://www.howtoforge.com/forums/showthread.php?t=48484

but with no luck.


Problem number two is snmp.cfg, i know for sure that snmp is enabled and working, but it seems the coding in my cfg is wrong. I've looked trough several other cfg files on different sites and mine is identical. The error reads as following;

[root@63FANNAGIOS ~]# snmpwalk -v 1 -c public eth1
/etc/snmp/snmp.conf: line 43: Warning: Unknown token: com2sec.
/etc/snmp/snmp.conf: line 44: Warning: Unknown token: com2sec.
/etc/snmp/snmp.conf: line 52: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 53: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 54: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 55: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 56: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 57: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 65: Warning: Unknown token: view.
/etc/snmp/snmp.conf: line 73: Warning: Unknown token: access.
/etc/snmp/snmp.conf: line 74: Warning: Unknown token: access.
/etc/snmp/snmp.conf: line 117: Warning: Unknown token: syslocation.
/etc/snmp/snmp.conf: line 118: Warning: Unknown token: syscontact.
/etc/snmp/snmp.conf: line 405: Warning: Unknown token: pass.
getaddrinfo: eth1 Name or service not known

If someone know what couses these problems i would greatly appriciate that

-Stefan
 
Old 11-22-2012, 07:41 AM   #2
pRemade
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
bump
 
Old 11-23-2012, 07:09 AM   #3
nagman
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Rep: Reputation: 0
Sorry I can't help you. Hope someone else can.
What kind of image are you using?
 
Old 11-26-2012, 01:04 AM   #4
pRemade
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
bump
 
Old 12-20-2012, 07:55 AM   #5
IvanMP
LQ Newbie
 
Registered: Sep 2012
Posts: 8

Rep: Reputation: Disabled
Try answer this questions ...

1.)is it public the community string you have put in the machine that you monitoring ?
2.)in the snmp.conf see the lines that gave you the error message ... and try gave us something ?
 
  


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
[SOLVED] Nagios 3.4.1 nagios.cfg processing loop Sma11T0wnITGuy Linux - Software 2 08-01-2012 08:19 PM
[SOLVED] "Unable to open config file '//nrpe.cfg' for reading" when using netd.conf MensaWater Other *NIX 1 10-25-2010 07:24 AM
commands.cfg [nagios] Xanios Linux - Newbie 18 07-30-2010 03:51 AM
[SOLVED] nagios.cfg errors. worm5252 Linux - Server 3 12-17-2009 08:39 PM
nagios and contactgroups.cfg d2490n Linux - Software 3 03-20-2008 08:27 AM

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

All times are GMT -5. The time now is 05:56 PM.

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