Page 1 of 1

Nagios Core – How to Generate SLA Reports?

Posted: Mon Aug 22, 2016 12:22 am
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.

Re: Nagios Core – How to Generate SLA Reports?

Posted: Mon Aug 22, 2016 12:27 am
by Box293

Re: Nagios Core – How to Generate SLA Reports?

Posted: Mon Aug 22, 2016 4:30 am
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?

Re: Nagios Core – How to Generate SLA Reports?

Posted: Mon Aug 22, 2016 3:47 pm
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.

Re: Nagios Core – How to Generate SLA Reports?

Posted: Mon Aug 22, 2016 3:57 pm
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

Re: Nagios Core – How to Generate SLA Reports?

Posted: Tue Aug 23, 2016 4:42 am
by sdbhabal
@tgriep:
Yes I am looking for a way to print out a SLA report of all of the services on my server.

Re: Nagios Core – How to Generate SLA Reports?

Posted: Tue Aug 23, 2016 5:06 am
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.

Re: Nagios Core – How to Generate SLA Reports?

Posted: Tue Aug 23, 2016 11:45 am
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!

Re: Nagios Core – How to Generate SLA Reports?

Posted: Mon Aug 29, 2016 10:55 pm
by sdbhabal
Thanks mcapra,

No question for now, we may stop this thread.