Page 1 of 1

command subsystem missing 'snapshot_maintenance'

Posted: Thu Jul 12, 2018 2:36 pm
by nortonhealthcare
In the Nagios Log Server (version 2.0.2) web interface, under Admin -> Command Subsystem, I'm trying to follow this document:

https://assets.nagios.com/downloads/nag ... enance.pdf

page 7, and I do not have "snapshot_maintenance". I do however have "backup_maintenance". Is this a version issue? I'm trying to configure regular backups to write to a specific directory, and this is where I would set the frequency etc.

Re: command subsystem missing 'snapshot_maintenance'

Posted: Thu Jul 12, 2018 3:09 pm
by npolovenko
@nortonhealthcare, Interesting. Have you upgraded from an older version of the Log Server? I would think that "snapshot_maintenance" and "backup_maintenance" is the same thing but every LogServer I've checked so far has the "snapshot_maintenance".

Can you take a screenshot of all commands in the command system table?

Re: command subsystem missing 'snapshot_maintenance'

Posted: Thu Jul 12, 2018 3:17 pm
by nortonhealthcare
I don't know the version history of this particular implementation, but here is the screenshot you requested.
all.jpg

Re: command subsystem missing 'snapshot_maintenance'

Posted: Thu Jul 12, 2018 3:32 pm
by npolovenko
@nortonhealthcare, Yes, I found that the snapshot maintenance job used to be called backup maintenance in older versions of Log Server ~ 1.X. Can you click on "Reset All Jobs" and let me know if the name has changed?

Re: command subsystem missing 'snapshot_maintenance'

Posted: Fri Jul 13, 2018 7:06 am
by nortonhealthcare
Resetting all jobs did indeed change the name to snapshots_maintenance. Thanks!

Re: command subsystem missing 'snapshot_maintenance'

Posted: Fri Jul 13, 2018 7:12 am
by nortonhealthcare
Unfortunately, the problem I had that caused me to explore this problem is still happening. Under 'Snapshots & Maintenance' I select my repository and click 'Save'. This is the result:
1.jpg
However, when I refresh the page, the repository is not selected:
2.jpg
Is this normal behavior? I'm not getting any data written to my snapshot directory.

Re: command subsystem missing 'snapshot_maintenance'

Posted: Fri Jul 13, 2018 3:48 pm
by jomann
No that is not normal, can you check your apache error log for errors, do a:

Code: Select all

tail -f /var/log/httpd
Post any errors you get when you select the repo and save the settings.