smax-postgres is a daemon application, which can collect data from an SMA-X realtime database and insert these into a PostgreSQL database to create a time-series historical record for all or selected SMA-X variables. The program is highly customizable and supports both regular updates for changing variables as well as regular snapshots of all selected SMA-X variables.
The smax-postgres applications was created, and is maintained, by Attila Kovács at the Center for Astrophysics | Harvard & Smithsonian, and it is available through the Smithsonian/redisx repository on GitHub.
This site contains various online resources that support the library:
Downloads
- Releases from GitHub
Documentation
- User’s guide (
README.md
) - API Documentation
- History of changes (
CHANGELOG.md
) - Issues affecting smax-postgres releases (past and/or present)
- Community Forum – ask a question, provide feedback, or check announcements.
Dependencies
- Smithsonian/smax-clib – structured data exchange framework
- Smithsonian/redisx – A C/C++ Redis client library
- Smithsonian/xchange – structured data exchange framework
- Smithsonian/smax-server – SMA-X server configuration kit
- PostgreSQL development files (
libpq.so
andlipq-fe.h
) - Popt (command-line options parsing) library development files (
libpopt.so
andpopt.h
) - (optional) systemd (runtime management) development files (
libsystemd.so
andsd-daemon.h
)