Kris Moore
|
cd72cb1308
|
Fix location of sysadm-general.h
|
2016-02-12 12:58:04 -05:00 |
|
Kris Moore
|
a1593e759a
|
Add initial Event watcher for system health, needs fixing since
QTimer isn't working at the moment, kenmoore will investigate
|
2016-02-12 12:54:45 -05:00 |
|
Ken Moore
|
edbef3e759
|
Add a full chain of SSL Certificate management fucntions to the authorization manager, and setup the main "auth" API call to use the cert system if no password was supplied for authorization.
While here, also move the location of the server config file to /usr/local/etc/sysadm.conf, and print out that location in the main server log file.
|
2016-02-10 12:43:06 -05:00 |
|
Ken Moore
|
37224472cc
|
Make the websocket/rest server distinctions a bit more clear. Now the logs are in websocket/restserver subdirectories, the LP file watchers will resume from the last log point (server-type aware), and a couple other changes for saving server-dependent variables.
|
2016-02-03 10:12:01 -05:00 |
|
Ken Moore
|
a9ba0a317c
|
Make sure the event file watcher checks for new watched files on a more regular basis. This will check every time a client asks for the latest logs, and will automatically load/parse any new file which appears.
|
2016-02-02 14:26:10 -05:00 |
|
Ken Moore
|
7ed1c6ad74
|
Merge branch 'master' of github.com:pcbsd/sysadm
|
2016-02-02 14:08:47 -05:00 |
|
Ken Moore
|
407b9a8d5d
|
A bit more cleanup in the server.
Remove the dispatcher-client files (the dispatcher is now an internal system, not an external script).
Clean up some comments and log stuff.
|
2016-02-02 14:07:25 -05:00 |
|
Kris Moore
|
c4a8e5a701
|
Add logging of LP events
|
2016-02-02 14:04:07 -05:00 |
|
Ken Moore
|
8166ef8a79
|
Cleanup a lot of the logging in the sysadm server. Now the hostinfo log file will clearly list connection time/IP, auth attempts/IP, Dispatches/IP, disconnections/IP. The dispatcher and events systems also properly log activity within their individual log files.
|
2016-02-02 13:46:23 -05:00 |
|
Ken Moore
|
c8f97a69fe
|
Clean up a fair bit of the server backends. Getting rid of compilation warnings, signal/slot connection issues, etc..
|
2016-02-01 15:39:29 -05:00 |
|
Ken Moore
|
04c366f114
|
Finish adding in the new dispatcher system (untested). This should be ready for trying out in some subsystem now.
Note: to queue up a job you just need to run one of the DISPATCHER->queue() functions (there are a few overloaded versions for simplicity)
|
2016-01-29 16:24:40 -05:00 |
|
Ken Moore
|
155026aab1
|
Fix up the file watcher system in the events class. Now it actually functions in it's own thread.
|
2016-01-20 11:42:41 -05:00 |
|
Ken Moore
|
539e2bf64e
|
Commit some debugging on the event watcher system - trying to figure out why no events are getting picked up from lp log changes.
|
2016-01-20 10:18:51 -05:00 |
|
Ken Moore
|
d99871c117
|
Add in support for Life Preserver events.
|
2016-01-19 16:17:59 -05:00 |
|
Ken Moore
|
0077d68208
|
Commit some debugging work on the sysadm server.
|
2016-01-18 16:53:12 -05:00 |
|
Ken Moore
|
f30b6cf947
|
Finish up the overhaul of the Events subsystem and start adding in the Life Preserver event handling/systems.
|
2016-01-18 12:37:40 -05:00 |
|
Ken Moore
|
82b549ead3
|
Split off the Events subsystem from the server class and set it up for easy expansion later.
|
2016-01-15 15:36:04 -05:00 |
|