New script to alert you if any network ports go above a %

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
tfigel
Posts: 9
Joined: Mon May 01, 2006 4:54 pm

New script to alert you if any network ports go above a %

#1 Post by tfigel » Mon May 15, 2006 6:46 pm

Hi
I wrote a standalone perl script that runs against the rrd
directory and emails an alert of all ports that are above a certain
bandwidth (85Mb) that are above a certain percentage of the port speed (85%)
My goal was to get the saturated 100Mb ports and ignore the gigabit ports bellow 850Mb.


It scans our 3000 ports in 30 seconds or so (on a dual PIII 900Mhz)


Anyway, I figured it would be useful, so wanted to post it
(I wonder if this is all done by the threshold plugin?)

Anyway, if there is interest I can clean up the script to make it more generally usable, but I am happy with the notifications now.
Attachments
cacti_scan.gz
added attachment
(1.13 KiB) Downloaded 1990 times

cksrealm
Cacti User
Posts: 88
Joined: Sun May 08, 2005 5:45 pm
Location: Sydney,Australia
Contact:

#2 Post by cksrealm » Wed May 31, 2006 7:15 am

I could not get this to work, please can you let me know what you did to get it running, thanks

User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Ping Utility.

#3 Post by chrisgapske » Tue May 22, 2007 7:57 am

I would like to be able to ping equipment in cacti like Smoke/Advanced ping and than if somthing does not respond be sent an email. Has anybody done this ?
Thank you.

Post Reply