LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-30-2004, 02:29 AM   #1
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Rep: Reputation: 15
FC 2 and MRTG


hi, i'm running fc 2 and trying to make mrtg work. can someone help me with this ?

command:
cfgmaker --global 'WorkDir: /var/www/mrtg' --global 'Options[_]: bits,
growright' --output /home/mrtg/cfg/mrtg.cfg public@localhost

result:
--base: Get Device Info on public@localhost:
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
community: "public"
request ID: 1823969557
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin//../lib/mrtg2/SNMP_util.pm line 621
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@localhost::::::v4only
at /usr/bin/cfgmaker line 775
WARNING: Skipping public@localhost: as no info could be retreived

--base: Writing /home/mrtg/cfg/mrtg.cfg
ERROR: creating /home/mrtg/cfg/mrtg.cfg: No such file or directory

what should i check ? thanks
 
Old 08-30-2004, 02:45 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
do you have snmp server running on the target system (from your post it seems you are trying to monitor the same system that you are running mrtg on)? You can check whether you have installed the net-snmp packages (rpm -qa|grep net-snmp).
 
Old 08-31-2004, 01:27 AM   #3
thundersnows
Member
 
Registered: Jul 2003
Location: Jakarta
Distribution: Slackware, Fedora Core 2
Posts: 83

Original Poster
Rep: Reputation: 15
yes i have snmp installed :
net-snmp-5.1.1-2
net-snmp-utils-5.1.1-2

i'm trying to run mrtg on the same linux box.
 
Old 08-31-2004, 03:45 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
check whether the snmpd daemon is running

#service snmpd status

Quote:
--base: Writing /home/mrtg/cfg/mrtg.cfg
ERROR: creating /home/mrtg/cfg/mrtg.cfg: No such file or directory
ensure the directory /home/mrtg/cfg exists.
 
Old 08-31-2004, 04:59 AM   #5
nitin_batta
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat Enterprise Server 2.1
Posts: 96

Rep: Reputation: 15
Hi

code :

WARNING: Skipping public@localhost: as no info could be retreived

code:

This simply shows that either your snmp is not running or it is not started .Please start your snmpd if not running or kill the current process if it is running and restart it.


.... Nitin Batta ....
http://nitinb.blogspot.com

__________________
If this helped you, please take the time to rate the value of this post by clicking the affero button
 
  


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
rrd mrtg & mrtg-rrd.cgi ducati620 Linux - Newbie 0 06-03-2004 07:29 PM
can I use mrtg for this? ziggie216 Linux - Software 1 04-14-2004 01:34 PM
What do I need for MRTG? ivanatora Linux - Software 3 02-28-2004 04:22 PM
Mrtg Infynite Linux - Software 3 10-02-2003 01:49 AM
mrtg cristi1979 Linux - Networking 0 06-24-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:40 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