automatic report generation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
asardouk
Posts: 31
Joined: Thu Feb 25, 2016 4:49 am

automatic report generation

Post by asardouk »

Hi,

I want to know if there is a way to generate reports for every host with specific service graphs automatically by creating config file somewhere ?

I want also to know if there a way to use my bandwidth scripts to generate bandwidth usage report ? is there a special format to get it to work ?

My script check routers via snmp and send perfdata in this format :

inUsage=66.08%;85;95;0;100 outUsage=35.70%;85;95;0;100 inBandwidth=132.162696Mb/s;170.00;190.00;0;200.00 outBandwidth=71.404228Mb/s;170.00;190.00;0;200.00
Nagios XI 5.2.5 - CentOS Linux release 7.2.1511
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: automatic report generation

Post by scottwilkerson »

Are you looking for the reports to be emailed?

if so there isn't an automated mechanism. However most of the reports built into Nagios XI are built on the fly and can be passed arguments to specify the host you want.

What specific report are you looking for, maybe we can show how the URL for the report can be built
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
asardouk
Posts: 31
Joined: Thu Feb 25, 2016 4:49 am

Re: automatic report generation

Post by asardouk »

With availability report, i can generate report for a hostgroup A and to display all service performance graphs.
How can i generate the same report with specific service graph ?

my second question is about the Bandwidth Usage report. how can i adapt my script so it can generate correct data to build this kind of report ?
Nagios XI 5.2.5 - CentOS Linux release 7.2.1511
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: automatic report generation

Post by tgriep »

Are you looking to create an Availability report with only one service on it?
If so, create a service group with only one service in it and run the report using only that group, also check this box (Display service performance graphs) on the report to get the graph to be displayed in the report.

Take a look at this link for the plugin guidelines. It describes how the performance data needs to be formatted.
https://nagios-plugins.org/doc/guidelines.html#AEN200
Be sure to check out our Knowledgebase for helpful articles and solutions!
asardouk
Posts: 31
Joined: Thu Feb 25, 2016 4:49 am

Re: automatic report generation

Post by asardouk »

tgriep wrote:Are you looking to create an Availability report with only one service on it?
If so, create a service group with only one service in it and run the report using only that group, also check this box (Display service performance graphs) on the report to get the graph to be displayed in the report.

Take a look at this link for the plugin guidelines. It describes how the performance data needs to be formatted.
https://nagios-plugins.org/doc/guidelines.html#AEN200
Well, I have per example "Service A" that i use for "Hostgroup A". I don't have a service for every host. So i cannot create a service group with this service. My goal is to generate a report for "hostgroup A" with specific services ( not all).

For the performance data please check my first message. I think that my script send the right format. I need to know how to make "Bandwidth Usage report" create report for my bandwidth service ?
Nagios XI 5.2.5 - CentOS Linux release 7.2.1511
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: automatic report generation

Post by tgriep »

There isn't a way to select a hostgroup for the Availability report and only show some of the services. It will show all of the services when it is ran.
For the performance data graph, can you go in to Service Details for that check, click on the Advanced Tab, screen capture it and post it here.
Is that check generating a performance data graph at all?
Be sure to check out our Knowledgebase for helpful articles and solutions!
asardouk
Posts: 31
Joined: Thu Feb 25, 2016 4:49 am

Re: automatic report generation

Post by asardouk »

I have graph for my service. check pictures bellow :
2016-04-04%2009_57_28-Nagios%20XI.png
2016-04-04%2009_57_16-Nagios%20XI.png
I used nagios xi Configuration Wizard: Network Switch / Router and it allows to generate this kind of report :
2016-04-04 10_02_38-Nagios XI - Reports.png
How can i do the same with my script ?
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.2.5 - CentOS Linux release 7.2.1511
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: automatic report generation

Post by bwallace »

Sorry, but running a custom report based on a custom plugin is not possible/supported.
Be sure to check out the Knowledgebase for helpful articles and solutions!
asardouk
Posts: 31
Joined: Thu Feb 25, 2016 4:49 am

Re: automatic report generation

Post by asardouk »

Thanks.
Nagios XI 5.2.5 - CentOS Linux release 7.2.1511
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: automatic report generation

Post by bwallace »

Sure, were there any other questions, or may we close this thread?
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked