Newbie Question - how do you add services to an interface? Trying to get strafeping to work.
Alasdair Muckart <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <CABweYd+BxoXqR+-whD3djc9DpCsHAVTZciCRbKUuyVotBENJXg@mail.gmail.com> |
Hi all,
I'm sorry if this is a dumb question. I've searched the wiki (no results
for strafe, hundreds for "assign" and "interface"), and the admin and user
guides and poked around the UI and I can't find an answer. It might be in
the YouTube videos somewhere (which I will watch) but I need to get this
into a demo soon, so I'm asking here.
How do I add strafeping as a service to an interface?
I'm trying to get strafeping graphs for three IPs, my firewall LAN
interface and my ISPs DNS servers as a test of the WAN link.
I'm running Horizon 22.0 and using NEWTS as my persistence database.
The 203.109 addresses were added as part of a requisition, which didn't
give me the option to add strafeping as a service. The 192. address was
added as part of discovery.
The poller configuration is below, it's as per default except for the
specific IPs. The interfaces are in the Latency category and I've tried
<filter>categoryName == 'Latency'</filter> as well.
<package name="strafer">
<filter>IPADDR != '0.0.0.0'</filter>
<specific>192.168.1.1</specific>
<specific>203.109.129.67</specific>
<specific>203.109.129.68</specific>
<!-- <include-range begin="::1"
end="ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" /> -->
<rrd step="300">
<rra>RRA:AVERAGE:0.5:1:2016</rra>
<rra>RRA:AVERAGE:0.5:12:1488</rra>
<rra>RRA:AVERAGE:0.5:288:366</rra>
<rra>RRA:MAX:0.5:288:366</rra>
<rra>RRA:MIN:0.5:288:366</rra>
</rrd>
<service name="StrafePing" interval="300000" user-defined="false"
status="on">
<parameter key="retry" value="0"/>
<parameter key="timeout" value="3000"/>
<parameter key="ping-count" value="20"/>
<parameter key="failure-ping-count" value="20"/>
<parameter key="wait-interval" value="50"/>
<parameter key="rrd-repository"
value="/opt/opennms/share/rrd/response"/>
<parameter key="rrd-base-name" value="strafeping"/>
</service>
<downtime begin="0" end="432000000" interval="300000"/><!-- 5m, 0, 5d
-->
<downtime begin="432000000" interval="3600000"/><!-- 1h, 5d -->
</package>
Thank you.
--
Alasdair Muckart | William de Wyke | http://wherearetheelves.net
"There is hardly anything in the world that some man cannot make a little
worse
and sell a little cheaper, and the people who consider price only are this
man's
lawful prey." - John Ruskin, 1819-1900.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss