{"id":636,"date":"2016-11-26T13:50:49","date_gmt":"2016-11-26T11:50:49","guid":{"rendered":"http:\/\/helia.ee\/koolitus\/?page_id=636"},"modified":"2016-11-26T13:50:49","modified_gmt":"2016-11-26T11:50:49","slug":"nagiose-snmp-probleemi-lahendus","status":"publish","type":"page","link":"https:\/\/helia.ee\/koolitus\/?page_id=636","title":{"rendered":"Nagiose SNMP probleemi lahendus"},"content":{"rendered":"<h2><a href=\"https:\/\/support.nagios.com\/forum\/viewtopic.php?f=7&amp;t=28480\">check_snmp not present in libexec<\/a><\/h2>\n<p>Hi,<\/p>\n<p>I am installing a new instance of Nagios and it looks like the installation did not compile and create a check_snmp script. However,<br \/>\n# rpm -qa |grep snmp<br \/>\nnet-snmp-libs-5.3.2.2-22.el5_10.1<br \/>\nnet-snmp-5.3.2.2-22.el5_10.1<\/p>\n<p># cat \/etc\/*release<br \/>\nCentOS release 5.9 (Final)<\/p>\n<p>Nagios and plugin versions:<br \/>\n-rw-r&#8211;r&#8211; 1 root root 1798034 Jul 28 13:45 nagios-4.0.7.tar.gz<br \/>\n-rw-r&#8211;r&#8211; 1 root root 2659772 Jul 28 13:46 nagios-plugins-2.0.3.tar.gz<\/p>\n<p>Is there something I am missing for a pre-installation check? I was only aware of net-snmp rpm dependency.<\/p>\n<p>Thank you very much.<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/support.nagios.com\/forum\/viewtopic.php?f=7&amp;t=28480#p107238\">Re: check_snmp not present in libexec<\/a><\/h3>\n<p>by\u00a0<strong><a href=\"https:\/\/support.nagios.com\/forum\/memberlist.php?mode=viewprofile&amp;u=33324\">eloyd<\/a><\/strong>\u00a0\u00bb Thu Jul 31, 2014 8:32 am<\/p>\n<p>First, you&#8217;re running newer plugin versions that we are, but significantly older versions of SNMP. We&#8217;re running plugins 2.0.2 and:<\/p>\n<p><strong>CODE:<\/strong><strong>\u00a0<\/strong><strong><a href=\"https:\/\/support.nagios.com\/forum\/viewtopic.php?f=7&amp;t=28480\">SELECT ALL<\/a><\/strong><\/p>\n<p># rpm -qa |grep snmp<br \/>\nnet-snmp-libs-5.5-49.el6_5.1.x86_64<br \/>\nnet-snmp-5.5-49.el6_5.1.x86_64<\/p>\n<p>You may want to start with upgrading SNMP libraries.<\/p>\n<p>Second, when you compile the plugins, and you run the .\/configure, it should tell you why it&#8217;s not going to create check_snmp. Look carefully through that output (available in config.log). In our case, it skipped check_snmp because:<\/p>\n<p><strong>CODE:<\/strong><strong>\u00a0<\/strong><strong><a href=\"https:\/\/support.nagios.com\/forum\/viewtopic.php?f=7&amp;t=28480\">SELECT ALL<\/a><\/strong><\/p>\n<p>configure:22913: WARNING: Get snmpget from <a href=\"http:\/\/net-snmp.sourceforge.net\">http:\/\/net-snmp.sourceforge.net<\/a> to make check_hpjd and check_snmp plugins<br \/>\nconfigure:22919: checking for snmpgetnext<br \/>\nconfigure:22952: result: no<\/p>\n<p>&nbsp;<\/p>\n<p>by\u00a0<strong><a href=\"https:\/\/support.nagios.com\/forum\/memberlist.php?mode=viewprofile&amp;u=38585\">and1100<\/a><\/strong>\u00a0\u00bb Thu Jul 31, 2014 8:55 am<\/p>\n<p>Hi eloyd,<\/p>\n<p><strong>Thank you for your help. It turns out I was missing net-snmp-utils.\u00a0<\/strong><\/p>\n<p>Thank you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>check_snmp not present in libexec Hi, I am installing a new instance of Nagios and it looks like the installation did not compile and create a check_snmp script. However, # rpm -qa |grep snmp net-snmp-libs-5.3.2.2-22.el5_10.1 net-snmp-5.3.2.2-22.el5_10.1 # cat \/etc\/*release CentOS release 5.9 (Final) Nagios and plugin versions: -rw-r&#8211;r&#8211; 1 root root 1798034 Jul 28 13:45 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":581,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-636","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=636"}],"version-history":[{"count":1,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/636\/revisions"}],"predecessor-version":[{"id":637,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/636\/revisions\/637"}],"up":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/581"}],"wp:attachment":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}