This repository has been archived by the owner on Apr 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
sweet-sample.conf
86 lines (65 loc) · 2.19 KB
/
sweet-sample.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
####
# Sample config file for sweet: network device backups and change alerts for the 21st century.
#
#
####
### Global configuration
# All global settings are optional and also available as command-line flags.
# Command-line flags override these global settings.
# Specify workspace directory (default: ./sweet-workspace).
#workspace = workspace
# Collection interval in secs (default: 300).
#interval = 600
# Concurrent device collections (default: 30).
#concurrency = 30
# To send email reports, both "to" and "from" addresses are required.
# Send change notifications to this email.
#to = email@addr
# Send change notifications from this email.
#from = email@addr
# SMTP server connection info (default: localhost:25).
#smtp = localhost:25
# Accept untrusted SSH device keys.
#insecure = true
# Do a "git push" after committing changed configs. (Password-less or agent SSH keys must be setup).
#push = true
# Send log messages to syslog rather than stdout.
#syslog = true
# Device collection timeout in secs (default: 60).
#timeout = 60
# Run an HTTP status server.
#web = true
# Host and port to use for HTTP status server (default: localhost:5000).
# DANGER: Be careful if you expose this service - it contains your device configurations!
#weblisten = localhost:5000
# These global defaults are used if not specified in the device configuration below.
default-method = cisco
default-user = sweetuser
default-pass = secret$weetPW
#### Device configurations
## Minimal device configuration using default-* settings above
[at-san-sw1.atrust.com]
## A basic device configuration for a supported device type
[at-san-sw2.atrust.com]
method = cisco
user = sweetLogin
pass = sweetPa$$word
## A sample host using an external script - this one is from RANCID
[netscreen.atrust.com]
method = external
script = nlogin -c 'get conf' -u ranciduser netscreen.atrust.com
## A sample host with lots of options
[at-san-sw2.atrust.com]
method = cisco
user = sweetuser
pass = sweetPas$word
enable = enablePa$$word
# optionally connect with IP rather than hostname
ip = 10.1.1.254
# optionally override timeout for slow connections
timeout = 30
## A JunOS device
[junos.atrust.com]
method = junos
user = sweetLogin
pass = sweetPa$$word