| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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! |
| |||
| 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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |