Page 1 of 1
Need hostgroup name in availability host data report in CSV
Posted: Wed Jan 11, 2017 11:22 pm
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
Re: Need hostgroup name in availability host data report in
Posted: Thu Jan 12, 2017 12:36 pm
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.
Re: Need hostgroup name in availability host data report in
Posted: Fri Jan 13, 2017 1:55 am
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
Re: Need hostgroup name in availability host data report in
Posted: Fri Jan 13, 2017 11:08 am
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.
Re: Need hostgroup name in availability host data report in
Posted: Fri Jan 13, 2017 11:50 am
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.
Re: Need hostgroup name in availability host data report in
Posted: Fri Jan 13, 2017 2:37 pm
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.
Re: Need hostgroup name in availability host data report in
Posted: Wed Jan 18, 2017 9:21 am
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...
Re: Need hostgroup name in availability host data report in
Posted: Wed Jan 18, 2017 3:28 pm
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.