LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FC 2 and MRTG (https://www.linuxquestions.org/questions/fedora-35/fc-2-and-mrtg-224185/)

thundersnows 08-30-2004 02:29 AM

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

ppuru 08-30-2004 02:45 AM

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).

thundersnows 08-31-2004 01:27 AM

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.

ppuru 08-31-2004 03:45 AM

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.

nitin_batta 08-31-2004 04:59 AM

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


All times are GMT -5. The time now is 07:09 PM.