Forum Discussion

grantae's avatar
4 years ago

Making a Backup for Cisco ISE in LogicMonitor

I am trying to setup a ConfigSource in LogicMonitor for Cisco ISE backups. We want the backup to only pull when a change is made in ISE. The out-of-the-box Cisco_IOS and Cisco_NXOS ConfigSources don't seem to work for ISE. So I tried to make a ConfigSource from the LM page but I haven't been able to get it to work properly. I made a copy of Cisco_IOS so I could have the Config Checks and removed the scripts. I have the following:


      startsWith( system.sysinfo, "Cisco Identity Services Engine" )
  ) &&
    (ssh.user && ssh.pass ) || 
    (config.user && config.pass) 



import com.santaba.agent.groovyapi.expect.Expect

host = hostProps.get("system.hostname");
user = hostProps.get("config.user");
pass = hostProps.get("config.pass");, user, pass);

cli.send("terminal length 0\n");

cli.send("show running-config all\n");
cli.expect(/Current configuration.*\n/);


config = config.replaceAll(/ntp clock-period \d+/,"ntp clock-period ");

println config;


Test comes back with the error: 

The script failed, elapsed time: 60 seconds - End of stream reached, no match found End of stream reached, no match found


Does anyone have any ideas? 

39 Replies