MRTG on UBUNTU problem

Premier () MRTG on UBUNTU problem
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi,
I had this installed and working perfectly but while to add more machines to be monitored to it it stopped working. since then I have installed and uninstalled it countelss times and made sure that all the mrtg files were also removed before doing a fresh installation.
I now get the following error: ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg.pid
 
When I do a sudo ps aux | grep mrtg I get the following:
 
root      3347  0.0  1.6  14128 11912 ?        Ss   00:50   0:00 /usr/bin/perl -w /usr/bin/mrtg /etc/mrtg.cfg
podge     4567  0.0  0.1   3336   800 pts/0    S+   12:19   0:00 grep mrtg
 
BTW I also have nagios running on the same server and it is trying to use MRTG but returns the following error also:
 
 
check_mrtgtraf: Unable to open MRTG log file


 

_______________________________________________
mrtg mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
Jan Ferré () Re: MRTG on UBUNTU problem
Reply Threaded More More options
Print post
Permalink
Hi Padraigh

Most likely you're running too many routers on the same mrtg - meaning
it doesn't finish one round before starting the next.

This can of course be due to the count of routers, but it can be caused
by some slow responces from routers as well - especially if all is run
sequentially.

If you like to see some perl-based mrtg-starter, please mail me
personally - our mrtg is actually run with multiple instances in
paralel.

Best regards

Jan Ferré

On Sun, 2009-06-07 at 12:21 +0100, Padraigh Holohan wrote:

> Hi,
> I had this installed and working perfectly but while to add more
> machines to be monitored to it it stopped working. since then I have
> installed and uninstalled it countelss times and made sure that all
> the mrtg files were also removed before doing a fresh installation.
> I now get the following error: ERROR: I Quit! Another copy of mrtg
> seems to be running. Check /etc/mrtg.pid
>  
> When I do a sudo ps aux | grep mrtg I get the following:
>  
> root      3347  0.0  1.6  14128 11912 ?        Ss   00:50
> 0:00 /usr/bin/perl -w /usr/bin/mrtg /etc/mrtg.cfg
> podge     4567  0.0  0.1   3336   800 pts/0    S+   12:19   0:00 grep
> mrtg
>  
> BTW I also have nagios running on the same server and it is trying to
> use MRTG but returns the following error also:
>  
>  
> check_mrtgtraf: Unable to open MRTG log file
>
>
>  
> _______________________________________________
> mrtg mailing list
> [hidden email]
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

_______________________________________________
mrtg mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg