Re: [[EXTERNA] 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 <CABweYdLOkBrJdneTv-W3COMPqpnh5012nT7mBfaOBz=0etNPRQ@mail.gmail.com>
Thank you Ron,

A couple of follow-up questions. Is this possible in the web UI? If I've
autodiscovered a node there's no provisioning requisition for it so I can't
use provision.pl in this manner.

Is this in the documentation somewhere that I'm just missing it?

Thanks.

On Tue, 5 Jun 2018 at 01:41, Roskens, Ronald <[email protected]>
wrote:

> Alasdair,
>
>
>
> A node with one of those specific IP addresses needs to have the
> StrafePing service assigned to that IP address.
>
>
>
> To assign a service to a node would be as simple as this:
>
>
>
> # provision.pl service add <foreign-source> <foreign-id> <ip-address>
> StrafePing
>
> # provision.pl requisition import <foreign-source>
>
>
>
> Ron
>
>
>
> *From:* Alasdair Muckart [mailto:[email protected]]
> *Sent:* Monday, June 04, 2018 4:59 AM
> *To:* [email protected]
> *Subject:* [[EXTERNAL]] [opennms-discuss] Newbie Question - how do you
> add services to an interface? Trying to get strafeping to work.
>
>
>
> 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.
> ------------------------------
> This e-mail message is being sent solely for use by the intended
> recipient(s) and may contain confidential information. Any unauthorized
> review, use, disclosure or distribution is prohibited. If you are not the
> intended recipient, please contact the sender by phone or reply by e-mail,
> delete the original message and destroy all copies. Thank you.
>
> ------------------------------------------------------------------------------
> 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



-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.