<?xml version="1.0" encoding="koi8-r"?>
<rss version="0.91">
<channel>
    <title>OpenForum RSS: Nagios: Return code of 127 is out of bounds - plugin may be ...</title>
    <link>https://slinkov.ru/openforum/vsluhforumID1/85366.html</link>
    <description>Привет!&lt;br&gt;Помогите пожалуйста разобраться в проблеме.&lt;br&gt;Есть Nagios 3.0.6 с установленными плагинами и NConf. При использовании конфигов которые идут в качестве семплов с нагиосом, все работает. При использовании конфигов сгенереных Nconf выдает следующую ошибку:&lt;br&gt;&lt;br&gt;Warning: Return code of 127 for check of service &apos;check_local_disk&apos; on host &apos;localhost&apos; was out of bounds. Make sure the plugin you&apos;re trying to run actually exists.&lt;br&gt;&lt;br&gt;В resources.conf путь к плагинам:&lt;br&gt;$USER1$=/usr/local/libexec/nagios права на них 777.&lt;br&gt;&lt;br&gt;в global/commands.cfg все команды совпадаю с командами в object/commands.cfg формата:&lt;br&gt;define command &#123;&lt;br&gt;                command_name                          check_ping&lt;br&gt;                command_line                          $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5&lt;br&gt;&#125;&lt;br&gt;&lt;br&gt;В nagios.cfg кусок отвечающий за то где искать конфиги изменен:&lt;br&gt;&lt;br&gt;# OBJECT CONFIGURATION FILE(S)&lt;br&gt;# These are the object configuration files in which you define hosts,&lt;br&gt;# host groups, contacts, contact group</description>

<item>
    <title>Nagios: Return code of 127 is out of bounds - plugin may be ... (Michael)</title>
    <link>https://slinkov.ru/openforum/vsluhforumID1/85366.html#3</link>
    <pubDate>Thu, 21 May 2009 13:38:23 GMT</pubDate>
    <description>покажите часть конфига, где прописан check_local_disk&lt;br&gt;</description>
</item>

<item>
    <title>Nagios: Return code of 127 is out of bounds - plugin may be ... (EDV)</title>
    <link>https://slinkov.ru/openforum/vsluhforumID1/85366.html#2</link>
    <pubDate>Thu, 21 May 2009 10:59:14 GMT</pubDate>
    <description>&amp;gt;&lt;br&gt;&amp;gt;&amp;gt;Warning: Return code of 127 for check of service &apos;check_local_disk&apos; on host &lt;br&gt;&amp;gt;&amp;gt;&apos;localhost&apos; was out of bounds. Make sure the plugin you&apos;re trying &lt;br&gt;&amp;gt;&amp;gt;to run actually exists. &lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt;знакомая ошибка. пути проверяли? пермишны на плагин верные стоят? &lt;br&gt;&lt;br&gt;watcher# cat resource.cfg&lt;br&gt;&lt;br&gt;# Sets $USER1$ to be the path to the plugins&lt;br&gt;$USER1$=/usr/local/libexec/nagios&lt;br&gt;&lt;br&gt;watcher# ls -l /usr/local/libexec/nagios&lt;br&gt;total 1582&lt;br&gt;-rwxrwxrwx  1 root  wheel   83096 May 19 18:30 check_apt&lt;br&gt;-rwxrwxrwx  1 root  wheel    2285 May 19 18:30 check_breeze&lt;br&gt;-rwxrwxrwx  1 root  wheel   30128 May 19 18:30 check_by_ssh&lt;br&gt;lrwxr-xr-x  1 root  wheel       9 May 19 18:30 check_clamd -&amp;gt; check_tcp&lt;br&gt;-rwxrwxrwx  1 root  wheel   18692 May 19 18:30 check_cluster&lt;br&gt;-rwxrwxrwx  1 root  wheel   30252 May 19 18:30 check_dhcp&lt;br&gt;-rwxrwxrwx  1 root  wheel   27120 May 19 18:30 check_dig&lt;br&gt;-rwxrwxrwx  1 root  wheel   96772 May 19 18:30 check_disk&lt;br&gt;-rwxrwxrwx  1 root  wheel    8168 May 19 18:30 check_disk_smb&lt;br&gt;-rwxrwxrwx  1 root  wheel   30256 May 19 18:30 che</description>
</item>

<item>
    <title>Nagios: Return code of 127 is out of bounds - plugin may be ... (Michael)</title>
    <link>https://slinkov.ru/openforum/vsluhforumID1/85366.html#1</link>
    <pubDate>Thu, 21 May 2009 10:52:23 GMT</pubDate>
    <description>&lt;br&gt;&amp;gt;Warning: Return code of 127 for check of service &apos;check_local_disk&apos; on host &lt;br&gt;&amp;gt;&apos;localhost&apos; was out of bounds. Make sure the plugin you&apos;re trying &lt;br&gt;&amp;gt;to run actually exists. &lt;br&gt;&lt;br&gt;знакомая ошибка. пути проверяли? пермишны на плагин верные стоят?&lt;br&gt;&lt;br&gt;&lt;br&gt;</description>
</item>

</channel>
</rss>
