You are here

Opsview and pagerduty

8 posts / 0 new
Last post
jesusroncero
jesusroncero's picture
Opsview and pagerduty

Hi All,

I have opsview connected to pagerduty and it seems to be working fine. I have a question about how to best configure opsview. Up until now we were only using email alerting, and since we have now moved to pagerduty, we want to cut the noise and work more towards a cleaner opsview setup, something we should've done it long ago, but we never did.

The way I look at this is that Opsview can generate an alert which gets sent to pager duty, which will generate a pagerduty alert if it falls between the parameters specified. What I'm trying to do is filter the number of opsview alerts that get sent to pagerduty.

We normally have service groups which have serveral checks. As an example, think of a postgres database, where we have a check for the listening port and another for, say, transactions taking a long time. We'd like to be alerted by the first one immediately but, on the transaction example, only after 2/3 hours it's been in critical state. I initially thought that maybe this could be done by having a few notification profiles tied to pagerduty which alert on the 1st opsview notification, 2nd notification, 3rd notification, etc.

But, as it stands now, all postgres checks are within the same service group, and this prevents from having them (each of the service checks) using different notification profiles.So, I was thinking that maybe what it needs is a few different service groups depending on the importance of the checks.

My question, is this a valid approach? Is this a 'best practice' within opsview? If not, how would you recommend configuring such a scenario?

Thanks.

smarsh
smarsh's picture
Re: Opsview and pagerduty

Hi,

The way I get round alerting on the entire service group (and probably the 'recommended' way) is to use keywords. So create  keyword of the hosts/services you want to be alerted for, then create a notification profile for JUST that keyword.

That should fix it :)

Best,

Sam

PS: how are you finding PagerDuty?

jesusroncero
jesusroncero's picture
Re: Opsview and pagerduty

Hi,

Umm, yeah, that sounds like a good plan. If I create keywords based on how critical each service it, that could definitely work. Keywords is something I have ignored, but now I can see how useful they can be :-). I'll give it a shot.

Regarding PagerDuty, we are liking it. at least is easy to configure on-call rotas and escalation procedures, and it's simple enough. It connects directly with opsview, so when a problem clears itself, opsview tells PagerDuty that the problem is no longer an issue and clears itself without any intervention. The one thing that I found a bit lacking is the SMS support. It's a bit too US-centric in terms of the number of text messages you can receive if you are outside of the US. I could understand that for phone calls, but not for SMS messages given the competitive rates SMS aggregators have. But if you have an iPhone or an android phone, it  should be good.

J.

jesusroncero
jesusroncero's picture
Re: Opsview and pagerduty

BTW, I have tried this approach, but it doesn't seem I get any keywords on the notification profiles.

See: https://www.dropbox.com/s/xxkxoz8jsjcjxdk/Screenshot%202014-02-05%2010.0...

Where I have tried to configure this is on: Settings -> Contacts -> pagerduty contact -> Submit and edit notification profiles -> pagerduty profile.

There are keywords configured, they just don't appear there. On that page, I'm able to see all the services that we have configured. Am I doing something wrong?

 

Cheers.

jesusroncero
jesusroncero's picture
Re: Opsview and pagerduty

Anyone?

smarsh
smarsh's picture
Re: Opsview and pagerduty

Hi,

It appears you have access to the support portal (support.opsview.com) - could you raise this as a ticket and one of our engineers will be able to help you?

Best,

Sam

awijntje
awijntje's picture
Re: Opsview and pagerduty

he there,

not sure you have looked into using Opsview Mobile but the iOS version supports push notifications for alerting?

hope this helps,

Alan

jesus@blinkbox.com
jesus@blinkbox.com's picture
Re: Opsview and pagerduty

Hi,

Yes, I have looked into that. But that doesn't compare with a escalation system such as the one pagerduty provide. Also, a lots of alerts are generated in our opsview system which, although useful to know about, they are not as important as to alert us.

Thanks.

J.