[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. 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. 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> <protocol-plugin protocol="SSH-CHECK_BOXES" \
class-name="org.opennms.netmgt.capsd.plugins.GpPlugin" scan = \
"on"></div> <div> <property \
key="script" value="/usr/local/bin/opennms_ssh_wrapper \
/usr/local/nagios/libexec/check_boxes 0" /></div> <div> <span \
class="Apple-tab-span" style="white-space:pre"></span><property \
key="timeout" value="3000" /></div> <div> <span \
class="Apple-tab-span" style="white-space:pre"></span><property \
key="retry" value="1" /></div> <div><span \
class="Apple-tab-span" style="white-space:pre"></span><property \
key="banner" value="OK" /></div> <div> \
</protocol-plugin></div> <div> <protocol-plugin \
protocol="SSH-CHECK_HTTP" \
class-name="org.opennms.netmgt.capsd.plugins.GpPlugin" scan = \
"on"></div> <div> <property \
key="script" value="/usr/local/bin/opennms_ssh_wrapper \
/usr/lib/nagios/plugins/check_http 2 -H localhost"/></div> <div> \
<span class="Apple-tab-span" style="white-space:pre"></span><property \
key="banner" value="HTTP OK" /></div> <div> <span \
class="Apple-tab-span" style="white-space:pre"></span><property \
key="timeout" value="3000" /></div> <div> <span \
class="Apple-tab-span" style="white-space:pre"></span><property \
key="retry" value="1" /></div> <div> \
</protocol-plugin></div> </div>
<div><br>
</div>
<div>And from poller-configuration.xml:</div>
<div>
<div> <service name="SSH-CHECK_BOXES" \
interval="300000" user-defined="false" status = \
"on"></div> <div> <span class="Apple-tab-span" \
style="white-space:pre"></span><parameter key="retry" \
value="2"/></div> <div> <span class="Apple-tab-span" \
style="white-space:pre"></span><parameter key="timeout" \
value="5000"/></div> <div><span class="Apple-tab-span" \
style="white-space:pre"></span><parameter key="banner" \
value="OK" /></div> <div> <span class="Apple-tab-span" \
style="white-space:pre"></span><parameter key="script" \
value="/usr/local/bin/opennms_ssh_wrapper /usr/local/nagios/libexec/check_boxes \
0"/></div> <div> </service></div>
<div> <service name="SSH-CHECK_HTTP" \
interval="300000" user-defined="false" status = \
"on"></div> <div> <span class="Apple-tab-span" \
style="white-space:pre"></span><parameter key="retry" \
value="2"/></div> <div> <span class="Apple-tab-span" \
style="white-space:pre"></span><parameter key="timeout" \
value="5000"/></div> <div><span class="Apple-tab-span" \
style="white-space:pre"></span><parameter key="banner" value="HTTP \
OK"/></div> <div> <span class="Apple-tab-span" \
style="white-space:pre"></span><parameter key="script" \
value="/usr/local/bin/opennms_ssh_wrapper /usr/lib/nagios/plugins/check_http 2 \
-H localhost"/></div> <div> </service></div>
</div>
<div><br>
</div>
<div>And for the monitors:</div>
<div>
<div> <monitor service="SSH-CHECK_BOXES" \
class-name="org.opennms.netmgt.poller.monitors.GpMonitor" /></div> \
<div> <monitor service="SSH-CHECK_HTTP" \
class-name="org.opennms.netmgt.poller.monitors.GpMonitor" /></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