{"id":673,"date":"2016-02-04T00:48:34","date_gmt":"2016-02-04T00:48:34","guid":{"rendered":"http:\/\/192.168.1.102\/?p=673"},"modified":"2016-02-04T20:02:38","modified_gmt":"2016-02-04T20:02:38","slug":"ubuntu-snmp-config-for-zabbix-and-checkpoint","status":"publish","type":"post","link":"https:\/\/digitalsos.net\/?p=673","title":{"rendered":"Ubuntu SNMP config for Zabbix and Checkpoint"},"content":{"rendered":"<p>I&#8217;m setting up SNMP monitoring for our Checkpoint devices in AWS and Zabbix needs the SNMP client configured.\u00a0 A good tutorial is located here:<\/p>\n<div class=\"embed-container\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"1170\" height=\"659\" src=\"https:\/\/www.youtube.com\/embed\/BI6ydGMT9Zc?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<p>But adding the templates for checkpoint was more involved than I thought.\u00a0 I grabbed the templates here: <a href=\"https:\/\/share.zabbix.com\/network-appliances\/checkpoint-fw-1-hardware\">https:\/\/share.zabbix.com\/network-appliances\/checkpoint-fw-1-hardware<\/a>. Then created the mapping by going to Administrator &#8211;&gt; General &#8211;&gt; On the far right pull down to Value Mappings, and create new.<\/p>\n<p>Then added the discovery scripts with: sudo cp advsnmp.discovery \/usr\/lib\/zabbix\/externalscripts\/.<\/p>\n<p>Then got the checkpoint mib file and added it to \/usr\/share\/snmp\/mibs\/.\u00a0 As long as you commented out the mib line in \/etc\/snmp\/snmp.conf then you should be able to run snmptranslate -m +CHECKPOINT-MIB -IR -On memFreeReal64.0 and get an accurate translation.<\/p>\n<p>The real test is to snmpwalk from the Zabbix server, for SNMPv3 use the following: snmpwalk -v3 -u UserName -l authPriv -a MD5 -A UserPassword -x DES -X EncryptionPassword 10.1.0.10 memActiveReal64.0<\/p>\n<p>Finally, and I&#8217;m not sure if this helped but I exported the MIb via: export MIB=+CHECKPOINT-MIB<\/p>\n<p>Some useful web links: <a href=\"http:\/\/www.net-snmp.org\/wiki\/index.php\/TUT:Using_and_loading_MIBS\" target=\"_blank\">http:\/\/www.net-snmp.org\/wiki\/index.php\/TUT:Using_and_loading_MIBS<\/a><\/p>\n<p>And the net-snmp FAQ is really good: <a href=\"http:\/\/net-snmp.sourceforge.net\/docs\/FAQ.html#How_do_I_add_a_MIB_to_the_tools_\" target=\"_blank\">http:\/\/net-snmp.sourceforge.net\/docs\/FAQ.html#How_do_I_add_a_MIB_to_the_tools_<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m setting up SNMP monitoring for our Checkpoint devices in AWS and Zabbix needs the SNMP client configured.\u00a0 A good tutorial is located here: But adding the templates for checkpoint was more involved than I thought.\u00a0 I grabbed the templates here: https:\/\/share.zabbix.com\/network-appliances\/checkpoint-fw-1-hardware. Then created the mapping by going to Administrator &#8211;&gt; General &#8211;&gt; On the<\/p>\n<div class=\"read-more-wrapper\"><a class=\"read-more\" href=\"https:\/\/digitalsos.net\/?p=673\" title=\"Read More\"> <span class=\"button \">Read More<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[19],"tags":[],"class_list":["post-673","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgxmGV-aR","_links":{"self":[{"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/posts\/673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalsos.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=673"}],"version-history":[{"count":4,"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/posts\/673\/revisions"}],"predecessor-version":[{"id":677,"href":"https:\/\/digitalsos.net\/index.php?rest_route=\/wp\/v2\/posts\/673\/revisions\/677"}],"wp:attachment":[{"href":"https:\/\/digitalsos.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalsos.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalsos.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}