diff options
Diffstat (limited to 'lib/oxidized/pfsense.rb')
-rw-r--r-- | lib/oxidized/pfsense.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/oxidized/pfsense.rb b/lib/oxidized/pfsense.rb index 67a1a49..078c2a4 100644 --- a/lib/oxidized/pfsense.rb +++ b/lib/oxidized/pfsense.rb @@ -1,6 +1,5 @@ class PfSense < Oxidized::Model - prompt /^\e\[0;1;33m\[\S*\e\[0;1;33m\]\e\[0;1;33m\e\[\S*\e\[0;1;31m@\S*\e\[0;1;33m\]\S*\e\[0;1;31m:\e\[0;0;0m\s$/ comment '# ' @@ -20,6 +19,10 @@ class PfSense < Oxidized::Model end + cfg :ssh do + exec true + end + cfg :telnet do username /^Username:/ password /^Password:/ |