[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    [opennms-install] OpenNMS ignoring service/protocol definitions
From:       "Sommerville, Malcolm" <mSommerville () ibahn ! com>
Date:       2012-03-08 17:24:49
Message-ID: CB7E9C35.7B15%msommerville () ibahn ! com
[Download RAW message or body]

[Attachment #2 (unknown)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, \
sans-serif; "> <div><br>
</div>
<div>Hi all,</div>
<div><br>
</div>
<div>I'm setting up OpenNMS (1.10.0 on debian squeeze) to monitor some systems via \
SSH. &nbsp;I have the agent stuff all setup and working and have added two tests to \
capsd-configuration.xml and poller-configuration.xml.</div> <div>My problem is this – \
the first test (SSH-CHECK_BOXES) doesn't work – it doesn't appear to be being \
discovered on the server; but the second one (SSH-CHECK_HTTP) does. &nbsp;The \
SSH-CHECK_BOXES test behaves exactly as expected if I run it from the command \
line.</div> <div><br>
</div>
<div>Here are the file excerpts.</div>
<div><br>
</div>
<div>From cpasd-configuration.xml:</div>
<div>
<div>&nbsp; &nbsp; &lt;protocol-plugin protocol=&quot;SSH-CHECK_BOXES&quot; \
class-name=&quot;org.opennms.netmgt.capsd.plugins.GpPlugin&quot; scan = \
&quot;on&quot;&gt;</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;property \
key=&quot;script&quot; value=&quot;/usr/local/bin/opennms_ssh_wrapper \
/usr/local/nagios/libexec/check_boxes 0&quot; /&gt;</div> <div>&nbsp; &nbsp; <span \
class="Apple-tab-span" style="white-space:pre"></span>&lt;property \
key=&quot;timeout&quot; value=&quot;3000&quot; /&gt;</div> <div>&nbsp; &nbsp; <span \
class="Apple-tab-span" style="white-space:pre"></span>&lt;property \
key=&quot;retry&quot; value=&quot;1&quot; /&gt;</div> <div><span \
class="Apple-tab-span" style="white-space:pre"></span>&lt;property \
key=&quot;banner&quot; value=&quot;OK&quot; /&gt;</div> <div>&nbsp; &nbsp; \
&lt;/protocol-plugin&gt;</div> <div>&nbsp; &nbsp; &lt;protocol-plugin \
protocol=&quot;SSH-CHECK_HTTP&quot; \
class-name=&quot;org.opennms.netmgt.capsd.plugins.GpPlugin&quot; scan = \
&quot;on&quot;&gt;</div> <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;property \
key=&quot;script&quot; value=&quot;/usr/local/bin/opennms_ssh_wrapper \
/usr/lib/nagios/plugins/check_http 2 -H localhost&quot;/&gt;</div> <div>&nbsp; &nbsp; \
<span class="Apple-tab-span" style="white-space:pre"></span>&lt;property \
key=&quot;banner&quot; value=&quot;HTTP OK&quot; /&gt;</div> <div>&nbsp; &nbsp; <span \
class="Apple-tab-span" style="white-space:pre"></span>&lt;property \
key=&quot;timeout&quot; value=&quot;3000&quot; /&gt;</div> <div>&nbsp; &nbsp; <span \
class="Apple-tab-span" style="white-space:pre"></span>&lt;property \
key=&quot;retry&quot; value=&quot;1&quot; /&gt;</div> <div>&nbsp; &nbsp; \
&lt;/protocol-plugin&gt;</div> </div>
<div><br>
</div>
<div>And from poller-configuration.xml:</div>
<div>
<div>&nbsp; &nbsp; &lt;service name=&quot;SSH-CHECK_BOXES&quot; \
interval=&quot;300000&quot; user-defined=&quot;false&quot; status = \
&quot;on&quot;&gt;</div> <div>&nbsp; &nbsp; <span class="Apple-tab-span" \
style="white-space:pre"></span>&lt;parameter key=&quot;retry&quot; \
value=&quot;2&quot;/&gt;</div> <div>&nbsp; &nbsp; <span class="Apple-tab-span" \
style="white-space:pre"></span>&lt;parameter key=&quot;timeout&quot; \
value=&quot;5000&quot;/&gt;</div> <div><span class="Apple-tab-span" \
style="white-space:pre"></span>&lt;parameter key=&quot;banner&quot; \
value=&quot;OK&quot; /&gt;</div> <div>&nbsp; &nbsp; <span class="Apple-tab-span" \
style="white-space:pre"></span>&lt;parameter key=&quot;script&quot; \
value=&quot;/usr/local/bin/opennms_ssh_wrapper /usr/local/nagios/libexec/check_boxes \
0&quot;/&gt;</div> <div>&nbsp; &nbsp; &lt;/service&gt;</div>
<div>&nbsp; &nbsp; &lt;service name=&quot;SSH-CHECK_HTTP&quot; \
interval=&quot;300000&quot; user-defined=&quot;false&quot; status = \
&quot;on&quot;&gt;</div> <div>&nbsp; &nbsp; <span class="Apple-tab-span" \
style="white-space:pre"></span>&lt;parameter key=&quot;retry&quot; \
value=&quot;2&quot;/&gt;</div> <div>&nbsp; &nbsp; <span class="Apple-tab-span" \
style="white-space:pre"></span>&lt;parameter key=&quot;timeout&quot; \
value=&quot;5000&quot;/&gt;</div> <div><span class="Apple-tab-span" \
style="white-space:pre"></span>&lt;parameter key=&quot;banner&quot; value=&quot;HTTP \
OK&quot;/&gt;</div> <div>&nbsp; &nbsp; <span class="Apple-tab-span" \
style="white-space:pre"></span>&lt;parameter key=&quot;script&quot; \
value=&quot;/usr/local/bin/opennms_ssh_wrapper /usr/lib/nagios/plugins/check_http 2 \
-H localhost&quot;/&gt;</div> <div>&nbsp; &nbsp; &lt;/service&gt;</div>
</div>
<div><br>
</div>
<div>And for the monitors:</div>
<div>
<div>&nbsp; &lt;monitor service=&quot;SSH-CHECK_BOXES&quot; \
class-name=&quot;org.opennms.netmgt.poller.monitors.GpMonitor&quot; /&gt;</div> \
<div>&nbsp; &lt;monitor service=&quot;SSH-CHECK_HTTP&quot; \
class-name=&quot;org.opennms.netmgt.poller.monitors.GpMonitor&quot; /&gt;</div> \
</div> <div><br>
</div>
<div><br>
</div>
<div>Any ideas or help you can give, even if it's a steer to the correct \
documentation would be greatly appreciated.</div> <div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Malcolm</div>
<div><br>
</div>
</body>
</html>



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic