Teneo !!!

Aaron’s blog on Networking, and Enterprise Technology

Creating a Network Status Page in OpenNMS

There have been a few questions, occasionally, asking how to get users to view the “overview” or “status” page of OpenNMS, without actually logging in.

Well, the easiest for me, was to just design my own status page for my users. This way, I just sent a SQL query, and formatted the results. All you have to do, is just look at the ‘outages’ table, and return the data where the ‘ifregainedservice’ is null. This will return current outages, just like this:

select * from outages where ifregainedservice is "";

Of course, this won’t give you everything. That will just give you the IP Address of the device and the time it went down. You’ll want to join using either nodeid for Node-level data, or serviceid for Service-level data, or both.

Why do I call that simple? I mean, you have to design your own web page, write the database access, etc etc. Well, I’m making an assumption that if you are large enough business to warrant a self-access status page, then you are large enough to have an existing Internet or Portal, which pretty much already gives you this framework.

I could be wrong, in which case, I apologize. Maybe you can just write up a quick query in MS Access?

Of course, my number one request is to enable OpenNMS with WebServices. How cool would that be?? To make a web-request for the network latency graph, and plug it into your Portal? Sweeeet!


Powered by ScribeFire.

One response to “Creating a Network Status Page in OpenNMS

  1. Pingback: lifepeers » Creating a Network Status Page in OpenNMS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: