project - log settings identify

From cpwiki.net
Revision as of 21:39, 23 September 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Check Point Profressional Services

Problem:

indentify firewalls configured to log to CMA, or locally... anything except for CLM only.


script name:

???


scratch

mdsenv <ip>
cpmiquerybin attr "" network_objects "firewall='installed'" -a __name__  ###indentify all firewalls
cpmiquerybin object "" network_objects "name='firewall_name'" | sed -n -e '/:send_logs_to/,/:self_log_server/ p' | grep -E ":Name |self_log_server (true)"