This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This switches between the laptop monitor ($intern) when undocked and a two monitor setup when docked ($extern right of $intern). | |
| ENV{ID_VENDOR_ID}, ENV{ID_MODEL_ID}, x_user and intern need to be set. | |
| Based on the Arch wiki, StackExchange and Google. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #@ /etc/quagga/bgpd.conf (Centos & Ubuntu) | |
| hostname <Local OS hostname> | |
| password <Any random phrase> | |
| enable password <Any random phrase> | |
| ! | |
| log file /var/log/quagga/bgpd | |
| !debug bgp events | |
| !debug bgp zebra | |
| debug bgp updates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Chef::Log.warn "entered noc_monitoring" | |
| if Chef::Config[:solo] | |
| mgt_servers = [ node ] | |
| else | |
| mgt_servers = search(:node, "recipes:nagios_feedhenry\:\:server") | |
| end | |
| mgt_servers.each do |n| | |
| Chef::Log.warn "found node #{n.name}" |