Commit Graph

552 Commits

Author SHA1 Message Date
Oliver Gorwits
3e6ec6883f #809 fix crash in Node search due to regexp translation perl to SQL 2021-09-08 20:39:50 +01:00
Oliver Gorwits
b38ceaaeeb Change duplicate job status from 'error' to 'info' 2021-09-08 20:19:56 +01:00
Oliver Gorwits
0cbce4ab3f Swap error and info return status from Jobs to avoid info() on error 2021-09-03 21:32:48 +01:00
Oliver Gorwits
43ce26ef3d Allow port_control_reasons setting to actually work 2021-09-03 21:17:11 +01:00
Oliver Gorwits
691cedb3c6 Hide portctl features in Device Ports where ACLs would not permit the action 2021-09-03 08:07:01 +01:00
Oliver Gorwits
5f3ae3bf10 Config setting portctl_nowaps to prevent port control on WAP ports 2021-09-03 06:22:16 +01:00
Oliver Gorwits
e953e3945f ACLs portctl_no and portctl_only for limiting port control targets 2021-09-03 06:15:20 +01:00
Oliver Gorwits
2498d9766b #800 gather and report SNMP Chassis ID http://oid-info.com/cgi-bin/display?oid=1.3.6.1.4.1.9.3.6.3&a=display 2021-08-14 13:28:13 +01:00
Oliver Gorwits
f3478571a3 bug fix for #775 radius dict finding 2021-08-12 11:32:11 +01:00
Oliver Gorwits
d206b9ccbf a bunch of logic changes to allow tests to run standalone 2021-08-12 10:58:55 +01:00
Oliver Gorwits
f1224b087c #767 also respect dns->no configuration in hostname_from_ip() 2021-07-24 12:23:43 +01:00
Oliver Gorwits
9eaef17680 Revert "#767 also respect dns->no configuration in ip_from_hostname()"
This reverts commit 74b9583fae.
2021-07-21 09:51:00 +01:00
Oliver Gorwits
74b9583fae #767 also respect dns->no configuration in ip_from_hostname() 2021-07-14 12:25:01 +01:00
Oliver Gorwits
485cfd24fa #775 redux - use bundled dictionary 2021-07-14 12:16:23 +01:00
Oliver Gorwits
ce29cf2ddb #783 fix FQDN discovery in node monitor emails 2021-07-14 12:07:47 +01:00
Oliver Gorwits
0d1dc39d33 #788 use device.name instead of device.dns for pseudo devices 2021-07-14 12:04:29 +01:00
Oliver Gorwits
bfd4982d68 #784 empty device_skip table when also emptying job queue 2021-06-23 22:12:23 +01:00
nick n
83a946d36e replace unicode nonbreaking space with ascii space (#794) 2021-06-23 22:00:33 +01:00
Christian Ramseyer
3f3de34f51 Allow <"> in remote_port (#782)
Makes the remote_port info work better with Nokia TiMOS devices.
2021-04-21 13:09:39 +02:00
Oliver Gorwits
87160b8e13 API port methods do not work with Cisco style Fa1/0/1 port names 2021-02-15 22:12:54 +00:00
Oliver Gorwits
2e6bfa42b4 fix error when using API /api/v1/object/device/ip/port_vlans 2021-02-14 14:04:08 +00:00
Oliver Gorwits
351927d384 add arpnip and macsuck hooks and exec hook implementation 2020-12-30 20:38:45 +00:00
Oliver Gorwits
28349eb489 add macsuck and arpnip hooks, add debug on hook queue 2020-12-29 18:15:58 +00:00
Oliver Gorwits
b8a63d9af7 #758 fix for job queue search 2020-12-29 13:07:12 +00:00
Oliver Gorwits
669eec46db Implement Hooks per #726 2020-12-23 11:18:38 +00:00
Oliver Gorwits
15a2b46e3a Try again to drop unneeded constraint on netmap_positions 2020-10-27 12:25:33 +00:00
Oliver Gorwits
facc41e310 release 2.046005 2020-10-17 14:40:07 +01:00
Oliver Gorwits
2b72233738 release 2.046004 2020-10-17 14:28:53 +01:00
Oliver Gorwits
c7b8c3bcbd #748 always call NetAddr::MAC->new() with named mac param 2020-10-17 13:05:46 +01:00
Oliver Gorwits
4cd0c3eef9 #747 handle missing snmpEngineID 2020-10-17 12:54:41 +01:00
Oliver Gorwits
ef1e2616f1 #738 crash on wildcard search 2020-09-23 09:38:46 +01:00
Oliver Gorwits
a146f53d67 #744 remove whitespace from serial numbers 2020-09-22 18:31:14 +01:00
Oliver Gorwits
3aeed20b78 #735 Slow web search for devices 2020-08-06 21:25:01 +01:00
Oliver Gorwits
31fc6e1ee5 #734 Multiple TACACS+/RADIUS servers now supported 2020-07-10 22:18:29 +01:00
Oliver Gorwits
fc46384fc6 #227 Do not overwrite partially retrieved data with null or incorrect values
this and two related commits implements:
- setting snmp_field_protection which can be used to protect any
  database field from having a null value set
- extra device discover worker which prefetches SNMP interfaces and
  performs some sanity checks and comparison against the DB
the two checks will return job status ERROR with CANCELLED if they
see anything fishy.
2020-07-06 19:49:57 +01:00
Oliver Gorwits
fc4bd4b342 #732 Node Search via API for known node returns invalid or empty JSON
A few things going on here ... swagger submitting "false" query
params which intefered with truth testing by existence, and also the
Node search not using {results => {}} format response for template,
and also that response then containing DBIC objects which cannot be
translated to JSON without running HRI first.
2020-07-06 19:00:38 +01:00
Oliver Gorwits
650c419dc7 error out on discover failing to get good interfaces from SNMP 2020-07-03 09:32:58 +01:00
Oliver Gorwits
7e51fe2295 try to safeguard some snmp leaf gather failures 2020-07-01 21:21:09 +01:00
Oliver Gorwits
f882f98319 #721 redux - better MAC address support in searching 2020-06-30 09:46:19 +01:00
Oliver Gorwits
88ce0d7f9a #721 redux - Port Search handles VLAN and MAC addr properly 2020-06-29 19:00:05 +01:00
Oliver Gorwits
170ea64b7e #722 manual topology should not allow same left and right port/device 2020-06-29 14:42:06 +01:00
Oliver Gorwits
dc87a50076 #728 store SNMP Engine ID 2020-06-29 14:38:51 +01:00
Oliver Gorwits
83de59fcc0 #729 Discovery partially fails on invalid indexes 2020-06-29 14:05:44 +01:00
Ambroise
224bfbca52 - add a function to avoid to have two times the same device exported in rancid config (#725)
- avoid some strange warning message and add a default domain in makerancidconf plugin
2020-06-05 09:08:19 +01:00
Oliver Gorwits
3662899ede #721 search will trim whitespace and handle more MAC formats 2020-05-24 19:41:21 +01:00
Oliver Gorwits
0d3aec8c17 #715 fix crash on missing Accept Header 2020-05-15 11:53:09 +01:00
Oliver Gorwits
42bb6e548b #718 fix Node Search API endpoint 2020-05-15 11:44:01 +01:00
Oliver Gorwits
8acdb67346 minor bug fixes and cleanup 2020-05-15 11:35:12 +01:00
Christian Ramseyer
dcb45e4cad Fix previous commit
* revert unwanted commit of bogus Web/Plugin/Device/Modules.pm
 * commit actual fix for #710
2020-04-25 17:32:01 +02:00
Christian Ramseyer
5663f84917 Fix #710: overwrite invalid EntityMIB parents
Check the obtained EntityMIB tree for invalid parents, and
reassign these modules to the root of the tree so they don't
end up invisible
2020-04-25 17:21:21 +02:00