Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Apr 27, 2017 1:33 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Opening Graph View Inside Nagios Frame
PostPosted: Thu Apr 20, 2017 8:31 am 
Offline

Joined: Wed Mar 29, 2017 8:08 am
Posts: 13
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


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Fri Apr 21, 2017 8:17 am 
Offline

Joined: Wed Mar 29, 2017 8:08 am
Posts: 13
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.


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Fri Apr 21, 2017 8:26 am 
Offline
Cacti User

Joined: Wed Dec 07, 2011 9:19 am
Posts: 163
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 !!

_________________
CentOS
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.3


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Fri Apr 21, 2017 8:35 am 
Offline

Joined: Wed Mar 29, 2017 8:08 am
Posts: 13
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.


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Fri Apr 21, 2017 8:42 am 
Offline
Cacti User

Joined: Wed Dec 07, 2011 9:19 am
Posts: 163
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

_________________
CentOS
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.3


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Fri Apr 21, 2017 8:54 am 
Offline

Joined: Wed Mar 29, 2017 8:08 am
Posts: 13
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?


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Sun Apr 23, 2017 4:17 pm 
Offline
Cacti User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 210
Do the opposite, add Nagios to cacti.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Mon Apr 24, 2017 11:02 am 
Offline

Joined: Wed Mar 29, 2017 8:08 am
Posts: 13
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.


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Mon Apr 24, 2017 11:27 pm 
Offline
Cacti User

Joined: Wed Dec 07, 2011 9:19 am
Posts: 163
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

_________________
CentOS
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.3


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Wed Apr 26, 2017 2:52 pm 
Offline

Joined: Wed Mar 29, 2017 8:08 am
Posts: 13
Osiris wrote:
Do the opposite, add Nagios to cacti.


I tried this and Nagios ends up crushed inside of a frame that Cacti controls.

Its unusable this way.


Top
 Profile  
 
 Post subject: Re: Opening Graph View Inside Nagios Frame
PostPosted: Wed Apr 26, 2017 2:53 pm 
Offline

Joined: Wed Mar 29, 2017 8:08 am
Posts: 13
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


Thanks, but I want to view the graphs_view.php page as the guest user. That means I want to see ALL the graphs.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group