New fancy graphs in OpenNMS 1.12

Since 2 weeks now I’m running the newest version of OpenNMS, the 1.12.1 . There is a really nice improvement that this new release brought: fancy/awesome graphs!! Now they seems more “precise” and even the perceptions of colours give at a first sight an idea of what’s happening: bad or good.

In the pic above you can have a look at the CPU graph from a Fortigate. What a nice view.

Now I would say that it’s definitely the way to follow, upgrade your graphs, trash them all and get new ones.
P.s: I would like to thanks the HP Raid controller that screwed up all the filesystem that day, otherwise I wouldn’t have done the installation of OpenNMS from the scratch and get as result this nice view 😉

Event translator: enrich OpenNMS notifications

Sometimes it might happen that you need “enriched” notifications from OpenNMS. Suppose you would like to send a notification including an information which is present on the asset view of your node: the Event Translator of OpenNMS is what you’re looking for.

At this Event Translator web page you can find the official documentation from OpenNMS but for a full implementation I suggest you to have a look at the following post.

Scenario: I will enrich the notification just for a specific category of devices that I use to call TimeClock. When one of these devices is down, It will send an enriched notification that include node label, ip address of the primary snmp interface and the description stored on the asset of the node. By default on OpenNMS notifications you won’t get these 2 additional information.

Read More

Monitor the cluster on Fortinet devices. New OID

Updating firmwares from Fortinet v4.0 MR2 to MR3, the “cluster-check” was no more working on OpenNMS. After searching on Fortinet Knowledge base pages I figured out that Fortinet has changed the OID for the cluster checks. This is the new OID:

### cluster is up and running ###
[root@nms2 ~]# snmpwalk -v2c –c public  fwIP
SNMPv2-SMI::enterprises.12356. = INTEGER: 1
SNMPv2-SMI::enterprises.12356. = INTEGER: 2
### cluster is down ###
[root@nms2 ~]# snmpwalk -v2c –c public  fwIP
SNMPv2-SMI::enterprises.12356. = INTEGER: 1

To add the new service we just need to add this monitor on the file poller-configuration.xml.

<service name="FortinetCluster" interval="300000"
            user-defined="false" status="on">
            <parameter key="retry" value="1"/>
            <parameter key="timeout" value="3000"/>
            <parameter key="port" value="161"/>
            <parameter key="oid" value=""/>
            <parameter key="operator" value="&lt;"/>
            <parameter key="operand" value="3"/>
            <parameter key="walk" value="true"/>
            <parameter key="match-all" value="count"/>
            <parameter key="minimum" value="2"/>
            <parameter key="maximum" value="2"/>

As a final step the only thing missing is to add this service to the interested nodes (your updated Fortigates).

OUCE 2013, let’s start with a real community.

Welcome back! The distance was about 750 kilometers: 6 hours spent on these impressively fast highways and passed through amazing views like “ZugSpitze” & FernPass. Honestly I have to say it was a good decision this reunion at OUCE 2013.

OUCE means OpenNMS User Conference Europe, and this was the fifth edition. Well at first I thought it was the 3rd or the 2nd official event in the Europe, since it’s still a “work in progress” event, but Markus (a guy involved directly into OpenNMS Group) addressed me to the correct number of times. Compared to the last year it seemed more a “User Conference”, lots of speakers proposed several topics, users were more involved and partecipative to discussions and the number of people seemed to be higher. It was also the first opportunity to talk about the creation of the new OpenNMS Foundation, a no-profit Foundation which will helps OpenNMS to live “autonomously” without the need of OpenNMS Group (the Company). Even if there has not been a deep discussion, as expected, this time I felt like being in a kind of community which seemed to grow!

So what are we waiting for? There’s a good amount of people “involved” and “attracted” by this product, but they’re still missing a good community to support it for “users”. At the moment the only trace of  community  it’s a sort of mailing list in different languages. As I said also to OpenNMS “guys”, I don’t really like it. I get spammed everyday with tons of posts regarding beginners who are not able to install OpenNMS on the most diverse operating systems of the world, updates not working and so on… Following and searching on a mailing list nowadays it is no more up to date. Why don’t we think about a forum/website, just for users? It could also be the start to create a good user documentation to complete the existing “poor” one from OpenNMS Group.