Hi Tobi, Monitoring the smokeping.log and apache log files while doing a 'touch' to the config file yields no output in the logs. What should I be seeing or looking for?
Thanks! -Vinny -----Original Message----- From: Tobias Oetiker [mailto:[email protected]] Sent: Sunday, July 08, 2012 4:04 PM To: Abello, Vinny Cc: [email protected]; [email protected] Subject: RE: [smokeping-users] fcgid and config changes Hi Vinny, Today [email protected] wrote: > Hi Tobi, > > No includes here? It must be something specific to the way I have > things configured. What that is I?m unsure? > > If you setup a FreeBSD VM and install Smokeping via ports, I > think it should be reproducible? unless I?ve somehow screwed up > two totally different machines yielding the same result, which is > very possible. ? Maybe it?s something with my Apache > configuration. hmm rather odd ... do you get any log messages when you 'touch' the config file ? cheers tobi > > -Vinny > > From: Tobi Oetiker [mailto:[email protected]] > Sent: Sunday, July 08, 2012 1:14 AM > To: Ryan Becker > Cc: Abello, Vinny; [email protected] > Subject: Re: [smokeping-users] fcgid and config changes > > smokeping monitores changes to the config file and reloads the webif. But > only the config file. If you use @include you have to touch the config file > to force a reload. > > cheers > tobi > -- > Tobi Oetiker live from the iPhone > OETIKER+PARTNER AG > > On 08.07.2012, at 06:54, Ryan Becker > <[email protected]<mailto:[email protected]>> wrote: > Unfortunately I can't reproduce this. A restart of Smokeping is all I needed > to add a monitored host, and the web interface updated immediately. Maybe > someone else can reproduce? > On Sun, Jul 8, 2012 at 12:51 AM, > <[email protected]<mailto:[email protected]>> wrote: > I have the same behavior on two different boxes so far. Both are FreeBSD (8.2 > on one and 9.0 on another) with Apache2.2 and mod_fcgi 2.3.6 and Smokeping > 2.6.7. > > -Vinny > > From: Ryan Becker [mailto:[email protected]<mailto:[email protected]>] > Sent: Sunday, July 08, 2012 12:49 AM > To: Abello, Vinny > Cc: [email protected]<mailto:[email protected]> > > Subject: Re: [smokeping-users] fcgid and config changes > > I can't say I've ever seen that issue but I can test it on my end if you like > to see if I experience the same thing. > On Sun, Jul 8, 2012 at 12:46 AM, > <[email protected]<mailto:[email protected]>> wrote: > Literally any modification to the config file that affects the web interface > html content, including but not limited to adding or removing new items being > monitored by smokeping. The issue is not what?s being modified but I think > the fact that the old cgi process never dies and continues using the old > config file until?. I don?t know when. I?ve always had to kill the process or > restart Apache which also ends the process to make the web interface reflect > the current configuration file. I?m talking specifically about the web > interface and not the daemon. There is no problem with that piece. I just > never had this issue with SpeedyCGI. Perhaps I have something configured > wrong. > > -Vinny > > From: > [email protected]<mailto:[email protected]> > > [mailto:smokeping-users-bounces+vinny_abello<mailto:smokeping-users-bounces%2Bvinny_abello>[email protected]<mailto:[email protected]>] > On Behalf Of Ryan Becker > Sent: Sunday, July 08, 2012 12:40 AM > To: [email protected]<mailto:[email protected]> > Subject: Re: [smokeping-users] fcgid and config changes > > What "changes" are we talking about? > On Sun, Jul 8, 2012 at 12:24 AM, > <[email protected]<mailto:[email protected]>> wrote: > I?ve noticed in the newer versions of smokeping using fgcid, that any config > changes aren?t reflected in the web interface until the existing process is > ended and a new one spawned. Is it just expected that after each change you > will kill the old process to get the web interface to reflect the changes > that the daemon is already aware of? Is the smokeping supposed to kill the > old web process on reload? I never had this issue with SpeedyCGI in 2.4.2 and > earlier. > > Thanks! > > -Vinny > > _______________________________________________ > smokeping-users mailing list > [email protected]<mailto:[email protected]> > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > > > > _______________________________________________ > smokeping-users mailing list > [email protected]<mailto:[email protected]> > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900 _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
