Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
[solved] monit: changed settings don't get updated in monitrc
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] monit: changed settings don't get updated in monitrc (Read 5451 times)
Stephan
Jr. Member
Posts: 60
Karma: 3
[solved] monit: changed settings don't get updated in monitrc
«
on:
September 13, 2017, 06:33:22 pm »
Hi,
there seems to be a bug with updating the config file.
Although I've finally removed (unchecked & tested & saved) all servicechecks - they still are active in the monitrc file.
Everything I add gets inserted correctly, but won't be removed if unchecked...
«
Last Edit: September 17, 2017, 01:37:59 pm by Stephan
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: monit: changed settings don't get updated in monitrc
«
Reply #1 on:
September 14, 2017, 07:36:25 am »
Hi Stephan,
This is including hitting apply and the file still not being updated? Just making sure before taking a closer look.
Cheers,
Franco
Logged
Stephan
Jr. Member
Posts: 60
Karma: 3
Re: monit: changed settings don't get updated in monitrc
«
Reply #2 on:
September 14, 2017, 09:25:12 am »
Yes,
as mentioned before, I can add servicechecks but not remove them.
Cheers, Stephan
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: monit: changed settings don't get updated in monitrc
«
Reply #3 on:
September 14, 2017, 09:52:54 am »
Ok, I tested this, it works as expected, but maybe there is a UX / workflow issue here that gets lost in communication.
I can toggle the "enabled" flag of "Service Settings". Pushing "Reload Configuration" renders the correct /usr/local/etc/monitrc file according to the enabled state of the settings.
What am I missing?
Cheers,
Franco
Logged
Stephan
Jr. Member
Posts: 60
Karma: 3
Re: monit: changed settings don't get updated in monitrc
«
Reply #4 on:
September 14, 2017, 12:13:49 pm »
ok, probably I don't understand these configuration settings...
Enabling/disabling "Service settings" is working as You mentioned.
Well, but what for is the 4th tab "Dienstüberprüfungseinstellungen" (sry - dunno the english name) ??
Nothing seems to happen when disabeling any here - though it seems, that when enabling things here they get added to the "Service Settings"?
And any changes here (en/disabling) are not reflected by the UI - next time I open this page nothing is selected - maybe it's because I don't get the meaning of this tab and this is the expected behaviour?
Thanx & cheers, Stephan
Logged
Stephan
Jr. Member
Posts: 60
Karma: 3
Re: monit: changed settings don't get updated in monitrc
«
Reply #5 on:
September 17, 2017, 01:37:33 pm »
Finally I got it - well I'm getting older...
Everything is working, like it should, I think - "Service Settings" for generally en/diable services and the 4th tab for configuring the services itself.
Thanx & cheers, Stephan
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [solved] monit: changed settings don't get updated in monitrc
«
Reply #6 on:
September 18, 2017, 09:14:31 am »
Hi Stephan,
Alright, glad this got cleared up.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
[solved] monit: changed settings don't get updated in monitrc