Importing graphs into custom web page.
Moderators: scottr, Moderator Team
7 posts
• Page 1 of 1
Importing graphs into custom web page.
We have a home grown web page for high level managers to monitor facilities. One of the aspects of this site is WAN utilization. We are currently using MRTG to graph WAN traffic and we are importing those graphs into this site.
I have started to test Denika, but I am having trouble importing any graphs into this custom site. It seems that there are some tokens that get passed that don't allow me to do any importing. Has anyone been able to get around this?
Thanks
Jamie
I have started to test Denika, but I am having trouble importing any graphs into this custom site. It seems that there are some tokens that get passed that don't allow me to do any importing. Has anyone been able to get around this?
Thanks
Jamie
- jm_eklund
- Posts: 11
- Joined: Mon Nov 23, 2009 4:19 pm
Re: Importing graphs into custom web page.
I'm sure this isn't well documented but you can link to a specific report using the following syntax:
Here is an example on my local install:
http://127.0.0.1/cgi-bin/denika.exe?view=R9083
How to find the report ID
1. Simply click on a the device group
2. Find the report you'd like to link to
3. Hover over the wrench icon - at the same time look in the status bar of your browser and you'll see a URL similar to:
you are only interested in getting the ID from the following section: idFilter=9083
Let me know if this doesn't give you what you need.
- http://DENIKASERVER/cgi-bin/denika.exe?view=R[REPORTID]
Here is an example on my local install:
http://127.0.0.1/cgi-bin/denika.exe?view=R9083
How to find the report ID
1. Simply click on a the device group
2. Find the report you'd like to link to
3. Hover over the wrench icon - at the same time look in the status bar of your browser and you'll see a URL similar to:
- http://127.0.0.1/cgi-bin/denika.exe?category=AdminTools&action=Reports&idFilter=9083&filterAll=please
you are only interested in getting the ID from the following section: idFilter=9083
Let me know if this doesn't give you what you need.
-

tomp - Site Admin
- Posts: 289
- Joined: Wed Jul 27, 2005 9:53 am
- Location: Sunny Sanford Maine
Re: Importing graphs into custom web page.
Is there any way to get a report of the daily/weekly/monthly/yearly?
Thanks
Jamie
Thanks
Jamie
- jm_eklund
- Posts: 11
- Joined: Mon Nov 23, 2009 4:19 pm
Re: Importing graphs into custom web page.
Other available options
Daily/Weekly/Monthly/Yearly
/cgi-bin/denika.exe?dwmy=reportid
All Reports for an IP
/cgi-bin/denika.exe?view=IPxxx.xxx.xxx.xxx
By Group ID
/cgi-bin/denika.exe?view=Ggroupnumber
Daily/Weekly/Monthly/Yearly
/cgi-bin/denika.exe?dwmy=reportid
All Reports for an IP
/cgi-bin/denika.exe?view=IPxxx.xxx.xxx.xxx
By Group ID
/cgi-bin/denika.exe?view=Ggroupnumber
-

tomp - Site Admin
- Posts: 289
- Joined: Wed Jul 27, 2005 9:53 am
- Location: Sunny Sanford Maine
Re: Importing graphs into custom web page.
Is there a way to get this report without having to enter a username and password (view mode)?
/cgi-bin/denika.exe?dwmy=reportid
Thanks
Jamie
/cgi-bin/denika.exe?dwmy=reportid
Thanks
Jamie
- jm_eklund
- Posts: 11
- Joined: Mon Nov 23, 2009 4:19 pm
Re: Importing graphs into custom web page.
Or... Is there a way to pass credentials using this URL?
- jm_eklund
- Posts: 11
- Joined: Mon Nov 23, 2009 4:19 pm
Re: Importing graphs into custom web page.
Add the following to the end of the url, replacing USERNAME and PASSWORD with the login credentials:
&logon_username=USERNAME&logon_password=PASSWORD
&logon_username=USERNAME&logon_password=PASSWORD
-

jghidoni - Site Admin
- Posts: 147
- Joined: Tue Nov 29, 2005 11:36 am
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests