LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-24-2006, 03:51 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
[OpenBSD] mrtg woes


I am trying to get mrtg working & I'm following this - http://tinyurl.com/np43v - example.

I couldn't find any SNMP package on the package list and installed net-snmp. The output of the installation is -

Code:
installed /etc/snmp/snmpd.conf from /usr/local/share/examples/net-snmp/EXAMPLE.conf***********                       
net-snmp-5.1.2p2: complete
ldconfig: /usr/X11R6/lib: No such file or directory
system(/sbin/ldconfig, -R) failed: 65280
--- net-snmp-5.1.2p2 -------------------
To have snmpd start at boot time, you must edit /etc/snmp/snmpd.conf
and uncomment the following in /etc/rc.local.

    #if [ -x /usr/local/sbin/snmpd ]; then
    #        echo -n ' snmpd';       /usr/local/sbin/snmpd
    #fi

This will start snmpd and use /etc/snmp/snmpd.conf for the configuration.
The snmpconf tool can be used to help edit your configuration files.  See snmpconf(1), snmpd(8), and snmpd.conf(5) for more options.
then I ran "/usr/local/sbin/snmpd" which runs fine. After that I ran
"snmpget localhost public system.sysDescr.0" which gives error
"snmpget: No securityName specified"

Running "cfgmaker --no-down webmaster@mydomain.com > /usr/local/etc/mrtg/mrtg.cfg" says "SNMP Error" "no response received"

Does anyone know what I'm doing wrong?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
openBSD vs MRTG snmp spatieman *BSD 0 01-19-2006 01:04 PM
OpenBSD - Where can i get OpenBSD 3.7 ISO CD -- Please help me b:z Linux - Software 5 04-08-2005 07:09 AM
OpenBSD - Where can i get OpenBSD 3.7 ISO CD -- Please help me b:z Linux - Software 1 04-07-2005 08:46 AM
rrd mrtg & mrtg-rrd.cgi ducati620 Linux - Newbie 0 06-03-2004 07:29 PM
mrtg cristi1979 Linux - Networking 0 06-24-2003 03:21 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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