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
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

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.
added attachment
(1.13 KiB) Downloaded 1990 times

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

#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
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