Need hostgroup name in availability host data report in CSV

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Need hostgroup name in availability host data report in CSV

Post by yunushaikh »

Hello Experts,

If we go to reports menu and click on availability. After running the report for all hosts, it gives us the data Host, UP, Down, Unreachable. I need to add hostgroup column in the same report.
I know that the report is running from availability.php.
Can someone help me to make the changes in the file so that We can also see hostgroup inside that report. It will be big help for us to find the customer name for that host.

Thanks
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Need hostgroup name in availability host data report in

Post by bwallace »

If I understand you correctly, this is gonna have to be two different reports, you can't combine the two as it seems you're looking to do. You can of course run a separate report on a hostgroup, but I do not see way to include or embed that in the report for all hosts as you've described.
Be sure to check out the Knowledgebase for helpful articles and solutions!
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Need hostgroup name in availability host data report in

Post by yunushaikh »

Hello bwallace,

Yes thats correct that I can run a report on hostgroup. But if I dont select any hostgroup, then it fetch the report for all hosts. I want the hostgroup name in that report if it is possible.
It will be great if you can help me.

Thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Need hostgroup name in availability host data report in

Post by rkennedy »

Can you please show us a screenshot of where you'd like it added? I'm still having a hard time understanding.

With that information I should be able to file a feature request for this.
Former Nagios Employee
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Need hostgroup name in availability host data report in

Post by yunushaikh »

When we go to reports menu and click on availability it gives the attached report,
We can see the download option. After downloading the host.csv file we see the data in below format

host up % down % unreachable %
Host1 100 0 0
Host2 100 0 0


Need a hostgroup column in this report. I think it is very easy for you. Can you please help me to achieve this? This report is actually pulled from availability.php located in
under reports folder in nagiosxi folder.

Please let me know if you need any more information.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Need hostgroup name in availability host data report in

Post by rkennedy »

I filed a feature request for this, ID #10698 so that the hostgroup column would be present in the Availability report. It is now in the developers hands.
Former Nagios Employee
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Need hostgroup name in availability host data report in

Post by yunushaikh »

Hello Experts,
Can you make a temporary change until the feature comes in.
We require it actually in urgent.

If you can customize the file availability.php and make that available. I know its easy change for you .
Plz...
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Need hostgroup name in availability host data report in

Post by rkennedy »

If you'd like a custom quote for the feature, feel free to email [email protected] - otherwise, it will need to wait for the Developers to approve it & be written into the code. We do not dictate their workflow.
Former Nagios Employee
Locked