Hello.
About: https://www.itophub.io/wiki/page?id=3_0_0%3Aadvancedtopics%3Anagios
Topic: "Viewing the Nagios status in iTop"
Can not find that mentioned class: " InfrastructureCI the function DisplayBareRelations..."
Where to look for that, to make those alterations in that function, to get Nagios tab?
PS. The "Download Snippet" does not work for me with Chrome or Firefox.
Avo.
Last edit: AM_est 2023-04-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I’m trying to integrate nagios status in iTop according to this documentation:
https://manage-wiki.openitop.org/doku.php?id=2_6_0:advancedtopics:nagios
I go the new tab and it shows the nagios page but the host name is not being resolved and shows:
Service Status Details For Host '$sName' instead of Service Status Details For locahost
It there something wrong with this line from the sample, or am I missing something else?
$oPage->add('src="https://<nagios_path>/cgi-bin/status.cgi?host=$sName">');</nagios_path>
Thanks,
Xaled
That line seems not complete indeed..
Edit: Oh I just looked at the documentations and they split up the iframe building.
The line should be like this:
$oPage->add('src="https://<nagios_path>/cgi-bin/status.cgi?host='.$sName.'">');
Last edit: Hipska 2022-01-18
Hello,
Thanks Thomas for the fix !
I updated the 3_0_0 wiki page, and also 2_7_0
Xaled, beware your url was pointing to the wiki section dedicated to 2.6.* iTop versions, which are obsolete and not maintained anymore.
Last edit: Muhammad Rafi 2024-04-18
Thanks Guys. It works now!
Thanks for the tip Pierre, I was just using it as the first available example.
Hello.
About: https://www.itophub.io/wiki/page?id=3_0_0%3Aadvancedtopics%3Anagios
Topic: "Viewing the Nagios status in iTop"
Can not find that mentioned class: " InfrastructureCI the function DisplayBareRelations..."
Where to look for that, to make those alterations in that function, to get Nagios tab?
PS. The "Download Snippet" does not work for me with Chrome or Firefox.
Avo.
Last edit: AM_est 2023-04-03
Hello,
About the InfrastructureCI::DisplayBareRelations method customization, you are refering I think to https://www.itophub.io/wiki/page?id=3_0_0%3Aadvancedtopics%3Anagios#viewing_the_nagios_status_in_itop ?
Learn how to do iTop customizations with this page : https://www.itophub.io/wiki/page?id=latest:customization:start
Where is the "Download Snippet" link that isn't working on your side ?
"Snippet" is for datamodel.sample-extension.xml on page: https://www.itophub.io/wiki/page?id=3_0_0:customization:datamodel#creating_a_module
That's like I can't download sample datamodel to start.