Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I am trying to monitor the bandwidth but fail to write the cfgmaker in /etc/,rtg/mrtg.cfg.
But i can run cfgmaker without any error in my local system.
Remote host is installed with snmpd and its running.
this is the output i'm getting.
cfgmaker --global 'WorkDir: /var/www/mrtg' --output /etc/mrtg/mrtg.cfg public@remote_switch_ip
Use of uninitialized value $t in substitution (s///) at /usr/bin/cfgmaker line 1375.
Use of uninitialized value $t in substitution (s///) at /usr/bin/cfgmaker line 1376.
Use of uninitialized value $t in substitution (s///) at /usr/bin/cfgmaker line 1377.
Use of uninitialized value $fs in pattern match (m//) at /usr/bin/cfgmaker line 1382.
Use of uninitialized value $t in hash element at /usr/bin/cfgmaker line 1383.
--base: Get Device Info on public@remote_switch_ip
--base: Vendor Id: Unknown Vendor - 1.3.6.1.4.1.8072.3.2.10
--base: Populating confcache
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Walking ifMtu
--base: Walking ifSpeed
--base: Writing /etc/mrtg/mrtg.cfg
I have gone through almost all the threads posted here.
Kindly help me. I have a deadline to complete the task.
Hi,
I am trying to monitor the bandwidth but fail to write the cfgmaker in /etc/,rtg/mrtg.cfg. But i can run cfgmaker without any error in my local system.
Remote host is installed with snmpd and its running. this is the output i'm getting.
cfgmaker --global 'WorkDir: /var/www/mrtg' --output /etc/mrtg/mrtg.cfg public@remote_switch_ip
Use of uninitialized value $t in substitution (s///) at /usr/bin/cfgmaker line 1375.
Use of uninitialized value $t in substitution (s///) at /usr/bin/cfgmaker line 1376.
Use of uninitialized value $t in substitution (s///) at /usr/bin/cfgmaker line 1377.
Use of uninitialized value $fs in pattern match (m//) at /usr/bin/cfgmaker line 1382.
Use of uninitialized value $t in hash element at /usr/bin/cfgmaker line 1383.
--base: Get Device Info on public@remote_switch_ip
--base: Vendor Id: Unknown Vendor - 1.3.6.1.4.1.8072.3.2.10
--base: Populating confcache
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Walking ifMtu
--base: Walking ifSpeed
--base: Writing /etc/mrtg/mrtg.cfg
I have gone through almost all the threads posted here. Kindly help me. I have a deadline to complete the task.
Please read the "How to ask a smart question" and "Question Guidelines" links in my posting signature. We volunteer our time here, so saying you have a deadline/you're in a hurry is fairly rude; we answer when we can. Also, you need to provide details when asking a question...you have told us nothing about version/distro of Linux, if you're trying to edit the file as sudo/root, or what you've done/tried so far. What installation guide/tutorial did you follow to install this?
Unless you save/edit the configuration file, things won't work.
I need to monitor bandwidth usage of remote server running on centos 6.
My nagios 4.0 server is running on centos 7 with plugins 2.1.4.
Installed snmp-5.7,mrtg 2.17 in nagios server and snmp-5.5 on client machine.
cfgmaker has created an entry for localhost without an error in /etc/mrtg/mrtg.cfg.
But while running cfgmaker with remote server ip, "No response received" error occurs.
cfgmaker --global 'WorkDir: /var/www/mrtg' --output /etc/mrtg/mrtg.cfg public@remoteserver_ip.
snmp is running in remote server,iptables and selinux are disabled.
Also i have logged in as root user.
Can anyone help me solving this as i have only moderate idea about nagios.?
I need to monitor bandwidth usage of remote server running on centos 6.
My nagios 4.0 server is running on centos 7 with plugins 2.1.4.
Installed snmp-5.7,mrtg 2.17 in nagios server and snmp-5.5 on client machine.
cfgmaker has created an entry for localhost without an error in /etc/mrtg/mrtg.cfg.
But while running cfgmaker with remote server ip, "No response received" error occurs.
cfgmaker --global 'WorkDir: /var/www/mrtg' --output /etc/mrtg/mrtg.cfg public@remoteserver_ip.
snmp is running in remote server,iptables and selinux are disabled.
Also i have logged in as root user.
Can anyone help me solving this as i have only moderate idea about nagios.?
Right...we understand your question from the first time you asked it. However now you're changing your story, and saying you are NOT getting errors with cfgmaker...which is it?
First thing to try here would be a simple snmpwalk to the remote server, and make sure it responds correctly with the community string you give it, and gives you SNMP output. Have you checked to see if SNMP is working on the remote server? Did you configure SNMP on the remote server? And again, what tutorial/instructions did you follow to get this far?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.