-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

i have a problem in SLA-Categories. I have created a rule for VPN- 
Transfernetworks. No i have an outage in this
category but the outage will not be displayed. The servicecount for  
the router is ok, the outage will be displayed on
first page "Nodes with Outages". The calculation in the categories are  
not right.

Router-A: has some ip-interfaces and services like this:

        - 10.1.0.1      ICMP
        - 10.100.0.1    ICMP
        -172.20.0.1     ICMP
        -172.21.0.1     ICMP    --> DOWN!
        -172.22.0.1     ICMP    --> Not Monitored


Here comes my config in categories.xml
<category>
        <label>MyTransitNetworks</label>
        .
        <service>ICMP</service>
        <rule><![CDATA[(IPADDR != '0.0.0.0') & (IPADDR IPLIKE  
172.16,20,21,22.1-255.1-255)]]></rule>
        .
</category>

if i go into the SLA-Category "MyTransitNetworks", i see Router-A with  
0 of 2 outages. The problem is i have an outage on 172.21.0.1!

I tried a little bit in the Database to debug the rules with something  
like this

SELECT
  *
from
  ifservices, node, service
WHERE
  ifservices.nodeid=node.nodeid AND
  ifservices.serviceid=service.serviceid AND
  iplike(ifservices.ipaddr,'172.16,20,21,22.1-255.1-255') AND
  node.nodelabel like '%Router-A%' AND
  ifservices.status='A' AND
  service.servicename='ICMP'
order by ifservices.ipaddr, node.nodelabel

As a result i get the correct ip-adresses: 172.20.0.1 and 172.21.0.1

I have restarted OpenNMS without success.

My Environment:
Linux opennms 2.6.18-6-686 #1 SMP Sat May 24 10:24:42 UTC 2008 i686  
GNU/Linux

OpenNMS:  1.5.96-6
java -version:
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

Thanks in advance



- - --
Ronny Trommer (Germany)
Web: http://www.open-factory.org
IRC: irc.freenode.org - #opennms

PGP key: 7ED9 1A00 0BD9 EB84 9F63  5808 B1BC E829 E383 98A0
Keyserver: keyserver.pgp.com

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkkIeV8ACgkQsbzoKeODmKDwLQCfVSemtf1h0Z9jyP08fnOqnxB6
MOQAnA+ZV+oVKL4AwX/eFMP0yEV1YyTV
=tnUn
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkkIef8ACgkQsbzoKeODmKBggQCfcZEDTqwspzPjudDCSyhPAkXB
YOsAniZV4CMhYoclqEZaaN/VqggOthjQ
=fVvL
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

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

Reply via email to