General :: Mrtg Refreshes Usually Too Late
Aug 5, 2010My mrtg refreshes usually too late(15 min.)and i want to make it 5 min.But i dont know where to edit.
View 1 RepliesMy mrtg refreshes usually too late(15 min.)and i want to make it 5 min.But i dont know where to edit.
View 1 Repliesfor example i have wrote this so far: while [ 1 ]; do smbstatus;sleep 20; donethis only loops and refreshes the smbstatus command.but i want to continue loop.So when there is a new connection and locked files i want it to send to
View 1 Replies View Relatedrecently 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.
View 1 Replies View RelatedI 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?
[Code]....
I follow the steps to install MRTG ... and this error appear to me
My linux is RHEL 5.0.
I'm using mrtg to generate html files. With mrtg , i use indexmaker . Inside html files , i have found some html tag like "<SMALL>some text</SMALL>".
There is the manner to delete text inside two tags ? With bash script?
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.
cfgmaker --global 'WorkDir: /home/httpd/mrtg'
--global 'Options[_]: bits,growright'
--output /home/mrtg/cfg/mrtg.cfg
community@router.abc.xyz
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 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:
No shared files/folders/drives and printers vanish. Most of the time re-booting will be the answer, but not this time I have 3 Ubuntu machines networked with two XP machines. one hard wired and two wireless on the 10.04. ONE wireless is networked right now and can see the other Ubuntu machines and the Windows machines and the printer. The other two are blind as a bat The two XP boxes one hard wired one wireless .. see each other. But see nothing on the Ubuntu machines that are down. Would like to fix this issue PERMANENTLY and quit screwing with it every couple of weeks Tried re-installing everything green in Samba and that did nothing. follow up edit managed to get the printers system back up on all on the net just by re-booting.
View 3 Replies View RelatedI had centos 5-5 server with 6G of RAM and 4 core cpu 3GHZ i installed bind 9.7.1-p2 on my server with multi thread support there are a lot of dns requests on my server , about 2500 Packets/sec and 3Mbit UDP traffic but my server response week to most of them.
For example when i use nslookup or dig command to query Yahoo.com the response from server maybe deliver about 5 Sec or become timed out , but sometimes response time less than 1 sec!
I don't know why, perhaps kernel works week so i decided to do the following :
But the problem didn't solved
I previously had Freebsd with same version of bind and same configuration and everything worked fine.
Does anyone who has upgraded to ubuntu 10.04 through update manager have this a little bit annoying problem that the screen comes a little late after grub loaded it never happened before.It occurred when it said to restart the system first i thought it may be on first time but it is still load little late?
View 9 Replies View RelatedI'm getting one of those an 11" MacBook Air with 128gb SSD. 64gb might be too little for dual booting. Of course, I'll run Ubuntu on it. I'm choosing this hardware, because of the great form factor, aesthetics, trackpad, and ability to run OS X (as a UX designer, I want to do competitive analysis of the OS).It will be my first Mac. Any advice? Got tips on what I should start learning, getting used to, etc?
View 3 Replies View RelatedI recently followed a tutorial on how to get OpenLDAP running with Samba on Lucid. It worked pretty well.Here's my very frustrating problem with it. For the first 5 - 10 minutes after rebooting, password handling (possibly PAM?) is hosed, including for users in LDAP authenticating via Samba.In fact, I think the only reason I can SSH into the machine during that window is because I happen to have certificate authentication enabled and my client uses that.When I try to do a sudo command after logging in, though, and have to enter the password, it hangs. I've searched logs and haven't come up with much.I *think* it's related to this bug, but I'm not sure.And here's what's killing me ... it's not easy for me to figure out how to ensure that slapd starts before smbd and rsyslog (I read somewhere else that it needs to start before that for some reason) b/c most of the jobs are upstart jobs, but slapd is not.By default it runs at S19 in rc2.d, and I've tried manually lowering that as far as S05 or S07, but I'm still having trouble.
View 1 Replies View RelatedI just got fedora 13 today and put it on a slightly older computer to mess around with it, and two things I realized.
1. I installed Flash player through a program called easyLiving, but when i play flash games online like on armorgames, everything will play fine, but sound will play about 2 seconds late with actions.
2. I can't play .wmv files from my MP3 player, I found some codes online and installed them, but now it just looks like I have 3 different audio players in mozilla and I'm not sure which kind to enable, and I still can't play .wmv movies. (I actually believe that problem 1 is unrelated, because I noticed it before I started downloading different audio players.)
I installed Fedora 13 and on my new laptop and tried upgrading to F15 and it gets stuck at "Late init script for live image".I've been searching and seen threads in the F15 Dev forum that I cannot reply to. I do not have akmod or kmod on this machine.I can get to a terminal, I have an SSH Server I installed before it broke. When I press ESC at the boot screen the last thing I see says "Late init script for live image"
View 3 Replies View RelatedOn my debian lenny OS I have an external usb hard disk I would like to automount it at boot. So I edited the /etc/fstab file in order to automount /dev/sdb1. It worked without problem. Then I recompiled the kernel and, as consequence, /dev/sdb1 changed to /dev/sdc1. I started playing with udev in order to match the now called /dev/sdc1 and to change its name in /dev/maxtor (being maxtor the brand of the hard disk). Obviously I edited also /etc/fstab: /dev/sdb1 is now /dev/maxtor.
The boot automount doesn't work anymore. On the boot sequence I can read the message "Mounting local filesystem...mount: special device /dev/maxtor does not exist FAILED". But when I log into the system I can run the command "mount /dev/maxtor /mnt/maxtor" and it works! So, IMHO, my udev rule is correct otherwise also the manual mount wouldn't work, right? I have to tell to udev to create /dev/maxtor BEFORE the boot automount process.
I tried to delete my udev rule and to edit /etc/fstab changing /dev/maxtor in /dev/sdc1 (the name udev gave to my hard disk after kernel recompile, before was /dev/sdb1) and it didn't work: on boot process I always see the "Mounting local filesystem...mount: special device /dev/sdc1 does not exist Failed". Then I tried to change /dev/sdc1 in /dev/sdb1 in /etc/fstab and to reboot with the old original kernel and int this way it works. With my compiled kernel, the OS seems to have lost the capacity to detect my device node correctly.
I use Slackware64 13.1 and this Sunday the hour change and ntp daemon don't start automatically and my clock is an hour late. It's normal or a bug?
View 20 Replies View RelatedI opened GParted to create a new partition on a new drive. He wanted me to create a partition table first which I did, and it was created directly without any prompt like im used to see when creating partition. So I recognized too late, that i actually created a MBR on one of my 6 1TB raid5 drives. Not beeing sure if the ne MBR was really written, I have opened ubuntu disk utility and clicked on the check raid button. It directly made a resync. After the resync, mdadm --detail /dev/md0 told me everything is ok and synced. Then I wanted to mount it with:
mount /dev/md0 /mnt Then I get the following error: "mount: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so" I think I just killed my raid5 ;(
I shouldnt work on my server when im tired and when I actually have no time ;( My last hope is the fact, that "Disk Utility" shows that there is a .0 TB ext4 volume on my raid (see screen below) [URL]
Well been configuring mrtg for a week .. still not getting it done.. looked the search in google but not yet satisfying result came up...
The index maker command for mrtg is not working .... everytime i use this command as:
It shows the error as:
I am using Centos 5 as squid proxy server. I want to configure MRTG to monitor live visual representation of internet traffic.
View 8 Replies View RelatedI'm trying to install Kunbuntu 10.0.4 on a late 2009 27" Core i7 iMac. Unfortunately the screen is always black while the CD/DVD installer seems to work. All firmware updates neede to the machine have been applied and it is non affected by the known problems of the late 2009 27" iMacs.
View 1 Replies View RelatedI 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...
View 6 Replies View Relatedif there's a way to add additional devices within mrtg? it is setup to monitor my main fw and wanted to add additional fw's in.
View 8 Replies View RelatedI have problem with make mrtg graph.
For example:
I use this Options for CPU:
Code:
Now use this command:
Code:
receive this message:
Code:
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).
View 1 Replies View Relatedmade 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
View 1 Replies View RelatedI 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.
View 3 Replies View RelatedI 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:
...
... [ alot of configure output omitted ]
...
[code]....
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?
View 1 Replies View Related