Opening Graph View Inside Nagios Frame
Moderators: Developers, Moderators
Opening Graph View Inside Nagios Frame
All,
I need to include the Graph View page inside of my Nagios XI home screen. Except when I do this, the Cacti Graph page takes over the browser window instead of staying inside the assigned frame.
Is there a way to load the Graph View page inside of a frame without it taking over the whole browser window?
Jeff
I need to include the Graph View page inside of my Nagios XI home screen. Except when I do this, the Cacti Graph page takes over the browser window instead of staying inside the assigned frame.
Is there a way to load the Graph View page inside of a frame without it taking over the whole browser window?
Jeff
----
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Re: Opening Graph View Inside Nagios Frame
Its really sad that a forum designed for helping people with Cacti can't bother to have anyone respond.
This is my last attempt at using these forums for help.
Bye.
This is my last attempt at using these forums for help.
Bye.
----
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Re: Opening Graph View Inside Nagios Frame
24hours is not that mutch for help, you should be a little patient !
And if you provide some more information, maybe you will get something !!
like some code you use to see what you did !!
And if you provide some more information, maybe you will get something !!
like some code you use to see what you did !!
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Opening Graph View Inside Nagios Frame
What possible information besides the question I asked do I need to provide?
What code do I need to show when I have made no modifications?
Your response is a useless as not getting any response at all.
What code do I need to show when I have made no modifications?
Your response is a useless as not getting any response at all.
----
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Re: Opening Graph View Inside Nagios Frame
Well I thing you add a dashlet to your dashboard !
So what value did you put on it ?
How did you format the URL of the graph ?
I have access to a Nagios XI install, but if you won't give any info on what you did, I can't help
So what value did you put on it ?
How did you format the URL of the graph ?
I have access to a Nagios XI install, but if you won't give any info on what you did, I can't help
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Opening Graph View Inside Nagios Frame
The only thing in Nagios I did was to create a javascript Custom Include so that I have a link to my Cacti URL (specifically pointing to the graph_view.php file) in my sidebar / left navigation. When I click on that link, instead of the graph_view.php loading within the Nagios maincontentframe it takes over the whole browser window. This effectively removes the frame and leaves me with the Cacti graph view screen only. I know this works because I have several tools that load just fine within the maincontentframe using the same method.
Is is possible to have the graph_view.php load within a frame without taking over the whole browser window?
What else can I possibly provide to explain what I am trying to do?
Is is possible to have the graph_view.php load within a frame without taking over the whole browser window?
What else can I possibly provide to explain what I am trying to do?
----
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Re: Opening Graph View Inside Nagios Frame
Do the opposite, add Nagios to cacti.
Before history, there was a paradise, now dust.
Re: Opening Graph View Inside Nagios Frame
That isn't what I want to do.
I want to view just the graphs from cacti inside a Nagios frame.
If this can't be done...I wish someone would just say so.
I want to view just the graphs from cacti inside a Nagios frame.
If this can't be done...I wish someone would just say so.
----
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Re: Opening Graph View Inside Nagios Frame
graph_view.php don't show just 1 graph, but a whole set of it
if you wan't to see just 1 graph you can use dashlet with the URL of the graph, or you can use something like that:
http://cacti/cacti/graph.php?action=vie ... rra_id=all
where the graph_id is the ID of the graph you would like to see, but in this case you need to be authenticated on Cacti or it will not work
if you wan't to see just 1 graph you can use dashlet with the URL of the graph, or you can use something like that:
http://cacti/cacti/graph.php?action=vie ... rra_id=all
where the graph_id is the ID of the graph you would like to see, but in this case you need to be authenticated on Cacti or it will not work
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: Opening Graph View Inside Nagios Frame
I tried this and Nagios ends up crushed inside of a frame that Cacti controls.Osiris wrote:Do the opposite, add Nagios to cacti.
Its unusable this way.
----
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Re: Opening Graph View Inside Nagios Frame
Thanks, but I want to view the graphs_view.php page as the guest user. That means I want to see ALL the graphs.Rno wrote:graph_view.php don't show just 1 graph, but a whole set of it
if you wan't to see just 1 graph you can use dashlet with the URL of the graph, or you can use something like that:
http://cacti/cacti/graph.php?action=vie ... rra_id=all
where the graph_id is the ID of the graph you would like to see, but in this case you need to be authenticated on Cacti or it will not work
----
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Jeff Singleton
- Cacti v1.1.5
- Syslog v2.1
- Flowview v2.0
- Thold v1.0.2
Re: Opening Graph View Inside Nagios Frame
Write a simple php script in Cacti base path to do what you want to do, use graph_image and not graph_json.
Before history, there was a paradise, now dust.
Who is online
Users browsing this forum: No registered users and 1 guest