diff options
| author | ytti <saku@ytti.fi> | 2017-02-20 11:08:18 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-20 11:08:18 +0200 | 
| commit | fafbdbc63a0bda9e2b798c15791e428453684eb4 (patch) | |
| tree | fe65049b958397fe63d693d5fefac19a0200739e /lib/oxidized/model/cumulus.rb | |
| parent | a1535a6f8f6b672fdc17c6dcf2af13c074d71c5d (diff) | |
| parent | c77406cac82839a36acb5917c7a60734201ed915 (diff) | |
Merge pull request #687 from nertwork/master
Node - Cumulus additional params
Diffstat (limited to 'lib/oxidized/model/cumulus.rb')
| -rw-r--r-- | lib/oxidized/model/cumulus.rb | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/lib/oxidized/model/cumulus.rb b/lib/oxidized/model/cumulus.rb index dc6792a..3a7e995 100644 --- a/lib/oxidized/model/cumulus.rb +++ b/lib/oxidized/model/cumulus.rb @@ -32,7 +32,10 @@ class Cumulus < Oxidized::Model      cfg += add_comment 'IP Routes'      cfg += cmd 'netstat -rn' - +     +    cfg += add_comment 'SNMP settings' +    cfg += cmd 'cat /etc/snmp/snmpd.conf' +          cfg += add_comment 'QUAGGA DAEMONS'      cfg += cmd 'cat /etc/quagga/daemons' @@ -48,6 +51,9 @@ class Cumulus < Oxidized::Model      cfg += add_comment 'QUAGGA OSPF6'      cfg += cmd 'cat /etc/quagga/ospf6d.conf' +    cfg += add_comment 'QUAGGA CONF' +    cfg += cmd 'cat /etc/quagga/Quagga.conf' +          cfg += add_comment 'MOTD'      cfg += cmd 'cat /etc/motd' | 
