Skip to content

Commit

Permalink
Moved user-specific vars to top
Browse files Browse the repository at this point in the history
  • Loading branch information
claytondukes committed Nov 8, 2017
1 parent 9791116 commit f4cf7b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions automations/cisco-interface-UpDown/cisco-intUpDown-to-slack
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,13 @@ print $fh "$msg\n" if $debug > 0;
#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
# BEGIN: Set Device Login and Slack Webhook URL
# BEGIN: Settings for your environment
#-----------------------------------------------------------------------------
my $ciscoUsername = "cisco";
my $ciscoPassword = "cisco";
my $posturl = 'https://hooks.slack.com/services/XXX/XXX/XXX';
my $default_channel = '#datacenter';
my $slack_user = 'logzilla-bot';
#-----------------------------------------------------------------------------
# BEGIN: Set your device login name/password
#-----------------------------------------------------------------------------
Expand Down Expand Up @@ -119,8 +121,6 @@ print $fh "\n--CMD Output:\nsh run interface $interface | include description:\n
#-----------------------------------------------------------------------------
# Post to Slack
#-----------------------------------------------------------------------------
my $default_channel = '#datacenter';
my $slack_user = 'logzilla-staging';
my $mnemonic = $ENV{'EVENT_CISCO_MNEMONIC'};

my ($color, $pretext);
Expand Down

0 comments on commit f4cf7b8

Please sign in to comment.