cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

2575
Views
35
Helpful
10
Replies
Oleg Volkov
Contributor

ASA Failover status monitoring (PRTG) using REST API

Hello.

May be You find simple way to monitoring ASA Active/Standby Failover cluster in PRTG.

I complete this sensor and You can use it for free:

http://www.ciscolive.ru/products.html

http://www.powerc.ru/download/asafileoverstatus.zip

You need run cisco REST API Agent on asa and use user with low privelege level.

I can adapt this sensor for other sysmem (not PRTG), if need.

UPD:

New version (add IP address verification, dedicated ke for port and FQDN test):

http://www.powerc.ru/download/asafailover2.11.zip 

https://github.com/OlegPowerC/PRTGSensorASA_Failover

 

UPD:

All PRTG ASA sensors (native and my)

https://www.paessler.com/sensor-hub/all/all/all?stats=all&fulltext=ASA&newOnly=false&scroll=408&key=1611824636133

--------------------------------------------------------------------------

Helping seriously ill children, all together. All information about this, is posted on my blog
10 REPLIES 10
Saravanen
Beginner

Hi Oleg,

 

I find this script for custom PRTG sensor very useful. I'm using it for some ASA clusters and its working great!

 

However, we have some ASA clusters with custom HTTPS port and they seem to be having issues with your script.

 

Is it possible to add a parameter so that we can input custom port?

 

Thank you.

 

Hello!

Yes it is possible.

I will make change and tell You where it will be complete.

--------------------------------------------------------------------------

Helping seriously ill children, all together. All information about this, is posted on my blog

Hi Oleg,

 

Awesome, thank you!

Hello!

I try to:

1. CLI ASA:

  no http server enable

  http server enable 7443

 

2. Change sensor settings and replase -i %host by -i %host:7443

 

And it work.

I can add separate parameter but I think this solution acceptable.

Please try and tell me result.

Thank You

 

 

 

--------------------------------------------------------------------------

Helping seriously ill children, all together. All information about this, is posted on my blog

Hi Oleg,

 

I've actually tried this method already but it wasn't working for me. Let me check again.

Ok. I will add separate parameter today and version control and upload to site.

Also how You change REST API port?

 

--------------------------------------------------------------------------

Helping seriously ill children, all together. All information about this, is posted on my blog

Hi Oleg,

 

It's working now.

-i %host:7443    <-- this option works!

 

I just didn't add http <server IP> <interface> on the firewall earlier to allow http from the PRTG probe server.

 

 

Good.

May be You need any other PRTG sensors?

--------------------------------------------------------------------------

Helping seriously ill children, all together. All information about this, is posted on my blog

I'm good for now. Thank you so much!

 

kapplejacks
Beginner

followed steps and get PRTG sensor error "Invalid IP" any advice? was able to add the custom exe sensor and the .exe but when it runs it errors on an IP issue?? 

Create
Recognize Your Peers
Content for Community-Ad