I set up MRTG on my ubuntu 10.10 using this link:[URL]...Now, i am trying to set it up so it refreshes every 5 minutes... I tried program scheduled task be entering /etc/init.d/mrtg start but it does not work... I also added the RunAsDaemon: Yes line to mrtg.cfg file but still nothing. It works fine from the terminal but not from the program...
As mentioned in the title something is terribly wrong with my system. After some updates in the last 2 days Plasma keeps on crashing like a jackhammer. Kwin reports bugs and siece to work. That said I have no borders of any window I have opened and no Kickstart menu. (I am using KDE 4.4.1.) On top of it all when I rebooted the system it just hangs when it is supposed to start X and KDM. When I switch to verbose boot I see that Avahi Daemon has a "Failed" sign. I have tried with older kernels, but that did not solve anything. To be honest I am clueless on how to fix Avahi. The easiest way is to reinstall Fedora, but I would have stuck with Windows for that and where is the learning opportunity in that?
recently i have installed Squid Server and i want to monitor traffic in my lan with mrtg. so i have installed snmp but when i run "snmp -v 1 -c public localhost" i have got "Timeout: no response from localhost". i have turned off the firewall but i get same error.
I try to graph No of open files using simple shell script but it's unsuccessful to draw graph continuously. following are my mrtg.cfg and script. And i am bit unclear with MaxBytes. How we can define this?
Its my third week struggling to install mrtg on freebsd 8.0. I will be happy if someone can provide me with a HOW TO documentation on the issue. i would like to monitor my routers(bandwidth utilisation).
made software which we can get network traffic Report of of Switches for Daily,monthly and yearly base , in MRTG we can configure as a switch so we can get particular switch Traffic but how can we get each port of traffic of a switch in MRTG
I recently migrated my mail server over to a new machine. For some reason, after verifying that the OIDs are correct, MRTG won't graph anything. I've quadruple checked the OIDs and used the strings as well, it won't graph at all. Graphs for RAM, ethernet, packets, etc. are working. CPU is the only thing not working. They work when I use snmpwalk with them and they do populate values. The logs show unknown SNMP vars for cores 1 & 2, but there's no mention of cores 3 & 4 entries in the logs.
I am on a slackware13.0 machine, that I just finished upgrading to 13.1 with slackpkg.(did slackpkg update;slackpkg upgrade-all; slackpkg install-new. I did not restart the machine). Now im attempting to run the mrtg slackbuild but I get the following during the configure stage:Quote:
I'm trying to get MRTG working on my Debian Lenny server. I have installed all trhe mrtg packages but when I invoke the mrtg command I get this: $ mrtg -c mrtg.cfg Can't locate MRTG_lib.pm in @INC (@INC contains:
[code]...
where is MRTG_lib.pm?? /usr/lib/mrtg is not there?
is anyone familiar with MRTG? i have it up and running just fine, but i have a bunch of interfaces showing up with no data and i want to weed those out. how to specify which interfaces i want to receive and display data from?
i have done most of the setup for MRTG network monitor tool.
But i m stuck at configuration part.
the actual MRTG guide says following.
I m little confused about what should i put inplace of community@router.abc.xyz.
Quote:
The next step is to configure mrtg for monitoring a network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily, you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.
This example above will create an mrtg config file in /home/mrtg/cfg assuming this is a directory visible on your webserver. You can read all about cfgmaker in cfgmaker. One area you might want to look at is the possibility of using --ifref=ip to prevent interface renumbering troubles from catching you.
If you want to start rolling your own mrtg configuration files, make sure you read mrtg-reference to learn all about the possible configuration options.
I installed MRTG some hours ago. Everything works fine (disk, cpu,..), except the network graph. For this graph, it's only work for ~3 cycles (15min), then... nothing.
This is the part of mrtg.cfg:
Code:
The number for eth0 is 3
Code:
SNMP is running:
Code:
Crontab is configured for mrtg (and seems it's not the problem because the other graphs works well):
Code:
In attachement is the graph for the memory (working!) and .. for the network, as you can see, only one small pic at the beginning.
this morning after the latest updates for slackware-current my mrtg-2.15.2 from slackbuilds failed with
Code: Bareword "P_DETACH" not allowed while "strict subs" in use at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 1133. Compilation failed in require at /usr/bin/mrtg line 89. BEGIN failed--compilation aborted at /usr/bin/mrtg line 89. As there's currently no newer version for mrtg on slackbuilds, i downloaded mrtg-2.17.0.tar.gz from oetiker's page and compiled it. Changing path in crontab and it works well.
I am running Redhat linux 8.0 with 2.4.22 kernel. I am using this server for traffic shaping my static ip clients using tc. There are about 250 clients and I am running mrtg to monitor traffic via cronjobs each 5 minutes. When mrtg run I see too much packets loss in my network. What could be the problem in my server? RAM is 1gb and processor is Intel Pentium D 2.66GHz.
I ahve configured MRTG to generate bandwidth utilization graphs of Network devices.
I ahve configured 30 Network device ( Cisco Switches and Routers), For most of the devices MRTG is working fine but for some devices it is not able to generate log file and giving the following error:
I wanted to know if i can install mrtg on a client computer in network and measure the network's router traffic.i know that it can be installed on the server.
I installed ActiveMQ, set up an init.d script and was able to start | stop | restart ActiveMQ from the init.d script. However, when I tried to use:
>sudo chkconfig --add activemq
upstart seemed not to like it. Having NO documentation on how to create a daemon that works with Upstart on the Ubuntu forums, I'm wondering if anyone has any idea why my init.d script doesn't convert.I'm using Ubuntu 10.x.x but this happens on 9.x.x also.
Here is my script..
Code:
#!/bin/bash # ### BEGIN INIT INFO # Provides: activemq
I'm trying to connect the Deluge GTK UI to the daemon running on the same system. This worked just fine previously, but for no apparent reason I can't connect now. I have Deluge set to autoconnect on startup, but it doesn't. If I open the connection manager, it says the daemon isn't running (which isn't true; I checked), and trying to start or connect to the daemon from there does nothing.I get the following errors from deluge:
Code: [ERROR ] 16:12:11 gtkui:343 Connection to host failed.. [ERROR ] 16:12:32 gtkui:343 Connection to host failed..
While watching the text scroll by as I shut down I noticed that there is a PostgreSQL Daemon running somewhere. The question I have is, how do I add myself and my own database to this daemon or do I need to run one on my own user?
i am trying to daemonize my (java) program on ubuntu. For that end i created a script based on /etc/init.d/skeleton script which obviously uses start-stop-daemon.
But I cannot make the process (java program) run on the background. it keeps running in the same terminal i start my daemon script. Trying --background option for start-stop-daemon does not help.