mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Updated to use new theme for docs site * Updated theme location * Removed librenms.css * Updated index page + re-added librenms.css * Use built in theme modification * flexbox grid, dump bootstrap * tidy up things * Added path and updated deploy script + mkdocs config * Removed db schmea changes * Updated to install python/pip 3 * Removed pip3 install * Pip3 install * Updated deploy-docs * Updated deploy-docs
38 lines
713 B
Markdown
38 lines
713 B
Markdown
source: API/System.md
|
|
path: blob/master/doc/
|
|
|
|
### `system`
|
|
|
|
Display Librenms instance information.
|
|
|
|
Route: `/api/v0/system`
|
|
|
|
Input:
|
|
|
|
-
|
|
|
|
Example:
|
|
```curl
|
|
curl -H 'X-Auth-Token: YOURAPITOKENHERE' https://librenms.org/api/v0/system
|
|
```
|
|
|
|
Output:
|
|
```json
|
|
{
|
|
"status": "ok",
|
|
"system": [
|
|
{
|
|
"local_ver": "1.37-234-g19103ee",
|
|
"local_sha": "19103ee36f68f009272c15be22e5a7e10a8b0b85",
|
|
"local_date": "1526480966",
|
|
"local_branch": "master",
|
|
"db_schema": 249,
|
|
"php_ver": "7.2.2",
|
|
"mysql_ver": "5.5.56-MariaDB",
|
|
"rrdtool_ver": "1.4.8",
|
|
"netsnmp_ver": "NET-SNMP 5.7.2"
|
|
}
|
|
],
|
|
"count": 1
|
|
}
|
|
``` |