Nagios Core – How to Generate SLA Reports?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sdbhabal
Posts: 27
Joined: Fri Nov 25, 2011 2:31 am

Nagios Core – How to Generate SLA Reports?

Post by sdbhabal »

Hello Experts,

Is there any way to genearate SLA report in Nagios Core?

I found below link but that is for Nagios XI.
https://assets.nagios.com/downloads/nag ... 1458107951

Please suggest.

Regards
Santosh.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios Core – How to Generate SLA Reports?

Post by Box293 »

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sdbhabal
Posts: 27
Joined: Fri Nov 25, 2011 2:31 am

Re: Nagios Core – How to Generate SLA Reports?

Post by sdbhabal »

Thanks Box293 for your quick help.

I followed below URL which you have sent.
https://exchange.nagios.org/directory/A ... LA/details

I have done installation as documented in "INSTALL.txt".

But not sure how do I use it, I tried using it on my Nagios server command line, below is the output.

[root@nagios libexec]# perl check_sla.pl -w 80 -c 90 -n Swap
CRITICAL: 0 < 90! | Swap=0;80;90;0;
[root@nagios libexec]#


Is this the correct way to use it?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Core – How to Generate SLA Reports?

Post by tgriep »

Are you looking for a way to print out a SLA report of all of the services on your server or are you looking to check the SLA of just one service?
What you installed will only check the SLA for a service you specify.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Core – How to Generate SLA Reports?

Post by ssax »

In addition to tgriep's post.

I don't know if that SLA plugin is going to work, you'll notice that you can't pass in a hostname along with the service, the problem with that is I'm sure there are a bunch of services with the same service description, you would need to have every service description be unique in order for it to work.

I tried to set this up but there is basically zero documentation on it and it's not working properly.

We do have an SLA report in our Nagios XI product if that is something that you're interested in.

You could try this one as well:

https://exchange.nagios.org/directory/A ... As/details

These are both pretty old though so I'm not sure if they will work for you without modification.

Thank you
sdbhabal
Posts: 27
Joined: Fri Nov 25, 2011 2:31 am

Re: Nagios Core – How to Generate SLA Reports?

Post by sdbhabal »

@tgriep:
Yes I am looking for a way to print out a SLA report of all of the services on my server.
Last edited by sdbhabal on Tue Aug 23, 2016 5:10 am, edited 1 time in total.
sdbhabal
Posts: 27
Joined: Fri Nov 25, 2011 2:31 am

Re: Nagios Core – How to Generate SLA Reports?

Post by sdbhabal »

@ssax:
You are right this plugin is not going to work at all.
Yes I am looking for the SLA report like we have in Nagios XI.
Let me try the link which you have suggested & let you know the outcome.
Thank you so much for your help.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Core – How to Generate SLA Reports?

Post by mcapra »

sdbhabal wrote: Yes I am looking for the SLA report like we have in Nagios XI.
Unfortunately, there isn't anything out in the community that is (in my opinion) as pretty or user-friendly.

Let us know if you have additional questions regarding this!
Former Nagios employee
https://www.mcapra.com/
sdbhabal
Posts: 27
Joined: Fri Nov 25, 2011 2:31 am

Re: Nagios Core – How to Generate SLA Reports?

Post by sdbhabal »

Thanks mcapra,

No question for now, we may stop this thread.
Locked