66bed276c2
Reconstruct addHost() so it is easier to understand
...
Update addHost() to return either device_id or a string
modify print_error(), print_message() to allow for $quiet variable
Only call addHost() once in addhost.php, if the snmp version isn't set, addHost will cope
Fix up snmp-scan.php and discovery-protocols.inc.php to detect when a device already exists
change in ip_exists() to make it more readable
2016-08-02 00:31:27 -05:00
53a4e0385c
Merge pull request #3726 from laf/api-arp
2016-07-10 22:08:21 +02:00
4ad75fb89d
create common method for generating type_wheres
2016-06-30 17:05:55 -07:00
0b8f06efa3
Added support for searching for arp entry
2016-06-27 14:48:07 +01:00
5cb9d751c3
Revert "deduping type_where code, adding manual types to graph widgets "
2016-06-07 09:15:04 +01:00
142e11f9d8
Merge pull request #3597 from brandune/rollup_graphs
...
deduping type_where code, adding manual types to graph widgets
2016-06-06 18:59:40 +01:00
3b4964e13c
create common method for generating type_wheres
2016-06-03 10:42:16 -07:00
009840bf8a
Store device group relationships in a pivot table.
2016-06-02 13:25:01 -05:00
b46a70185f
API bug fix
2016-05-04 15:50:41 -04:00
f801f63a99
Missing AND
2016-04-22 14:42:33 +00:00
78204f3971
Added api call for ipsec tunnels
2016-04-22 13:41:38 +00:00
0e6093abfc
Added device/port_stack API endpoint. Updated documentation
2016-04-05 14:25:45 -07:00
e40042bd5c
Added device/port_stack API endpoint
2016-04-05 13:03:17 -07:00
9706a85454
- Added add, edit and delete API calls for components.
...
- Added documentation for the new calls.
2016-03-30 17:16:14 +10:00
240ffe55af
Merge pull request #3178 from Ultra2D/api-ldap
...
API access when using LDAP authentication
2016-03-13 20:06:35 +00:00
d63744c32c
Only use get_user if it exists
2016-03-10 08:17:09 +01:00
322053c827
API access when using LDAP authentication
2016-03-07 14:07:51 +01:00
f0fb602046
Added support for os in oxidized groups
2016-03-05 00:48:51 +00:00
59a1050df6
Fixed device ip binary decode
2016-01-20 18:19:15 +00:00
6492b887e9
Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650
2016-01-14 06:10:31 +10:00
87e88dacfd
- Compress API filters to a loop
...
- Check for filters for valid fields
2016-01-14 05:22:37 +10:00
a35f6d8c7a
Added group support for Oxidized
2016-01-10 19:45:54 +00:00
c3ce59124e
Fix some spellings.
2016-01-07 23:02:18 +01:00
6286d7cb6a
Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650
...
Conflicts:
html/api_v0.php
html/includes/api_functions.inc.php
2015-12-22 11:16:54 +10:00
5f4837cdb8
Did not update vars to _GET before submitting
2015-12-21 18:22:36 +00:00
c276cc5ec4
Merge pull request #2611 from laf/issue-2451
...
Added new API calls to support device groups
2015-12-20 17:35:27 +00:00
d8095707b2
Added flag to get_graph_by_port_hostname() API call to switch port look up to use ifDescr
2015-12-19 19:10:18 +00:00
c63b7119cb
Device Components.
...
The purpose of this feature is to provide a framework for discovery modules to store
information in the database, without needing to add new tables for each feature.
This Feature provides:
- A database structure to store data.
- An API to store and retrieve data from the database.
- Integration to the LibreNMS APIv0.
- Ability to disable/ignore components.
- Default alerting rules.
- The API returns $COMPONENT[$device_id][$component_id] to allow pulling of data for multiple devices.
The intent is to be able to create 'Applications' the consolidate data from applications covering multiple devices.
- Added some developer documentation
2015-12-14 07:52:03 +10:00
d5b6e0e8da
Updated device-groups functions to support returning all data or just group id
2015-12-13 17:20:34 +00:00
d0306ae8ae
Fixing scrut issue
2015-12-12 14:21:49 +00:00
a73a997edc
Added API call for listing devices by groups
2015-12-12 13:47:44 +00:00
62b4c21a12
Added API calls for device groups
2015-12-12 12:58:07 +00:00
3c0b3eb486
Small fix so that updates report back as ok even if no update is done due to no change
2015-12-10 21:26:59 +00:00
9e9a48d78c
I will never understand scrut!
2015-12-08 23:12:26 +00:00
977cdd558d
Added API route to update devices columns in DB
2015-12-08 22:53:52 +00:00
6dfc186bb5
Added ability to filter devices by type and os for Oxizied api call
2015-12-02 20:22:38 +00:00
a98085a9ee
Quote column titles when sql building to avoid mysql keywords
2015-11-04 09:24:02 +00:00
eed7c546c6
Fixed list_bills function when using :bill_id
2015-10-26 19:55:23 +00:00
9fef97ffe4
Change on the add_edit_rule to modify a rule without modify the name
2015-10-16 16:31:47 +02:00
70aeb75d12
Change on the add_edit_rule to modify a rule without modify the name
2015-10-16 16:18:18 +02:00
1b07d8ce13
Merge branch 'master' of https://github.com/librenms/librenms into issue-2018
2015-10-11 19:32:40 +00:00
37b7e8247d
Added support for excluding devices from Oxidized api
2015-10-10 13:40:27 +00:00
be5cdaff20
#2079 Add unmute alert function
2015-10-08 16:45:36 +02:00
e6b84541b7
change list_alerts function to handle GET filter not POST
2015-10-08 15:25:10 +02:00
6ac8e72728
change list_alerts function to handle GET filter not POST
2015-10-08 15:20:42 +02:00
fbc7dd6b1c
change list_alerts function to handle GET filter not POST
2015-10-08 15:15:44 +02:00
3ac8ffc70f
Extended support for list devices to support mac/ipv4 and ipv6 filtering
2015-08-23 11:57:56 +00:00
ca60b5268a
Scrut fix
2015-08-09 09:22:48 +00:00
bffd3c7463
Scrut fixes
2015-08-04 06:54:58 +00:00
016415df8f
Added missing router variable
2015-08-03 15:02:35 +00:00