CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > SmartView Monitor/SmartView Status
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-05-12
Junior Member
 
Join Date: 2007-06-14
Posts: 26
Rep Power: 0
Scrif has an average reputation (10+)
Default Smartview Email Altert Examples

Hi,

Im working on writing a script to capture the data generated from our Smartview email alerts. I wish to monitor the following:

CPU - Greater than 90%
Disk less than 20%
Status Connection - not connected
FW Policy - not installed
FW Policy - name changed
Sync State - not synchronized

I have configured the thresholds and have received email alerts for CPU, Disk Space, and Status Connection.

They look similiar to the following:

29Jan2008 17:07:57 fwmgr < mail System Alert message: Free disk space on firewall1a is less than 20% (currently 0%); Object: firewall1a; Event: Exception; Parameter: disk_space; Condition: is less than 20; Current value: 0; product: System Monitor;

The value I am most interested in is Parameter: disk_space;

Does anyone have examples from the other parameters? Specifically I need the Parameter:<parameter_name> so I can capture that in my script. The ones I am missing are for FW Policy - not installed, FW Policy - name changed, and Sync State - not synchronized.

If you have the parameter name for any of the 3 mentioed above, please post the Parameter Name field for me.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 2008-05-26
Senior Member
 
Join Date: 2006-04-30
Location: Europe, Germany
Posts: 153
Rep Power: 3
dsb.nepo has an average reputation (10+)
Default Re: Smartview Email Altert Examples

for the hd space you can do something like
$> df -h | grep '^/' | awk '{printf "disk: %-10s usage: %s\n", $6, $5}'

but it is easier to monitor this with snmp.
for nagios you can find also some plugins
check out this sites
Nagios plugins and nagios:plugins:check_snmp_cpfw.pl [Nagios-Wiki]

ps:
you can also use the plugins without a full nagios installation, i monitor these values for example with nagios/cacti+spine
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 18:27.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0