Skip to content

Commit

Permalink
add cambium
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Dec 25, 2024
1 parent 2522a32 commit 1952003
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/roles/log_collector/files/10-port514.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ ruleset(name="port514"){
( $fromhost-ip == "10.70.188.69" )
then {
action(type="omfile" template="siklu" file="/var/log/siklu.log")
} else if
( $fromhost-ip == "10.96.131.248" )
then {
action(type="omfile" file="/var/log/cambium.log")
# Standard mikrotik
} else {
action(type="omfile" file="/var/log/mikrotik.log")
Expand Down
4 changes: 4 additions & 0 deletions ansible/roles/log_collector/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
path: "/var/log/brocade.log"
service: "mesh_devices"
source: "brocade"
- type: file
path: "/var/log/cambium.log"
service: "mesh_devices"
source: "cambium"

- name: Rsyslog main config
ansible.builtin.copy:
Expand Down

0 comments on commit 1952003

Please sign in to comment.