Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

Python script for interface status/flaps on Gaia

the_rock
MVP Diamond
MVP Diamond

Hey guys,

Wondering if someone would be willing to try this script and post the results. I tried it in the lab, but results are pretty basic, since its just the lab. dos2unix and chmod needed to run it.

Lab:

[Expert@CP-GW:0]# ./cp_flap_watch.py --history 168

Detected interface flaps in the last 168 hour(s):

Interface Down Up Last Event (local time) Last State Bond(s)
--------------------------------------------------------------------------------------
No link up/down events

...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




0 Kudos
4 Replies

the_rock
MVP Diamond
MVP Diamond

Did not sadly let me attach the .py script, so I uploaded it below.

https://limewire.com/d/WLDWV#02VfWGjlPj

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Just zip the file b4 attaching, pal.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


(1)

the_rock
MVP Diamond
MVP Diamond

DOH...correct...done : - )

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

the_rock
MVP Diamond
MVP Diamond

I attached the content of the script as well.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos