[mrtg] Re: Memo: RE: How do I stop/start MRTG in Daemon mode?

Miller, Robert Robert_Miller at MCFA.COM
Wed Nov 29 18:14:32 MET 2000


Start the task manager, processes tab, find and select 'perl', kill perl,
restart mrtg. I would sugest running mrtg from 'scheduled tasks'. This will
allow you to make changes to your cfg file and see the changes the very next
time mrtg runs. Although doing this will cause pop-up windows, I find this an
acceptable price for the flexibility you gain.

HTH,
Robert Miller
MCFA

-----Original Message-----
From: Danny A THOMPSON [mailto:danny.a.thompson at hsbc.com]
Sent: Wednesday, November 29, 2000 10:59 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Memo: RE: How do I stop/start MRTG in Daemon mode?





Thanks for that.  However, I already run MRTG from an  NT Service
using the sugested "Miroslaw M. Maczkas mrtg NT service package. You
can find it in c:\mrtg-2.9.4\contrib\nt-services " - but the problem
is not that I cannot stop the service (stopping the service does not
stop the MRTG Daemon) - the problem is how to stop the Daemon which is
created by the "RunAsDaemon: yes" parameter in the mrtg.cfg file.

Once MRTG loads as a Daemon it never again reads the mrtg.cfg file -
and if changes are made to mrtg.cfg they will not be read until MRTG
is restarted - but as it is a Daemon it means the machine has to be
restarted (at least until we can find out if the Daemon runs as an NT
Task (I did find 5mrtg.exe running in Task Manager)).

I read the documentation for Firedaemon and it also suggests setting
the "RunAsDaemon: yes" parameter which will put me back in the same
place :-)    It is the Daemon process that is the problem - how to
bounce it!

Regards






29/11/2000 16:21



To:   Danny A THOMPSON/HBEU/HSBC at HSBC
      mrtg at list.ee.ethz.ch
cc:
From: Nasreddine Tabet-Aoul <Nasreddine.Tabet-Aoul at madgeweb.com>
Subject:  RE: [mrtg] How do I stop/start MRTG in Daemon mode?




******************************************************************
 This message originated from the Internet. Its originator may or
 may not be who they claim to be and the information contained in
 the message and any attachments may or may not be accurate.
******************************************************************


Try to use the firedeamon software that allows you to run your MRTG as
a
service. You can find the details from the MRTG running under NT. The
installation is very simple and selfexplanotary.



-----Original Message-----
From: Danny A THOMPSON [mailto:danny.a.thompson at hsbc.com]
Sent: 29 November 2000 16:04
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Memo: How do I stop/start MRTG in Daemon mode?





I have installed MRTG for NT and am running it in Daemon mode
(RunAsDaemon = Yes).  My question is how do I make it re-read the
configuration file after making changes without rebooting the PC?   I
have RTFM'd but no information is found.

Has anyone else (using NT) found a solution to this problem?



********************************************************************
 This message and any attachments are confidential to the ordinary
 user of the e-mail address to which it was addressed and may also
 be privileged. If you are not the addressee you may not copy,
 forward, disclose or use any part of the message or its
 attachments and if you have received this message in error, please
 notify the sender immediately by return e-mail and delete it from
 your system.

 Internet communications cannot be guaranteed to be secure or
 error-free as information could be intercepted, corrupted, lost,
 arrive late or contain viruses. The sender therefore does not
 accept liability for any errors or omissions in the context of
 this message which arise as a result of Internet transmission.

 Any opinions contained in this message are those of the author and
 are not given or endorsed by the HSBC Group company or office
 through which this message is sent unless otherwise clearly
 indicated in this message and the authority of the author to so
 bind the HSBC entity referred to is duly verified.

********************************************************************

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi




********************************************************************
 This message and any attachments are confidential to the ordinary
 user of the e-mail address to which it was addressed and may also
 be privileged. If you are not the addressee you may not copy,
 forward, disclose or use any part of the message or its
 attachments and if you have received this message in error, please
 notify the sender immediately by return e-mail and delete it from
 your system.

 Internet communications cannot be guaranteed to be secure or
 error-free as information could be intercepted, corrupted, lost,
 arrive late or contain viruses. The sender therefore does not
 accept liability for any errors or omissions in the context of
 this message which arise as a result of Internet transmission.
 
 Any opinions contained in this message are those of the author and 
 are not given or endorsed by the HSBC Group company or office 
 through which this message is sent unless otherwise clearly 
 indicated in this message and the authority of the author to so 
 bind the HSBC entity referred to is duly verified.

********************************************************************

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list