Importing graphs into custom web page.

Denika Performance Trender™ is a 100% web configurable view into the performance of your IT and IS resources. Denika answers: How much of the resource (network bandwidth, CPU, hard drive, etc.) is being consumed? What is the Up-Time of an important application, server and or network device? What is the Response-Time of an important application, server and or network device?

Moderators: scottr, Moderator Team

Importing graphs into custom web page.

Postby jm_eklund » Mon Nov 23, 2009 4:25 pm

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
jm_eklund
 
Posts: 11
Joined: Mon Nov 23, 2009 4:19 pm

Re: Importing graphs into custom web page.

Postby tomp » Tue Nov 24, 2009 9:32 am

I'm sure this isn't well documented but you can link to a specific report using the following syntax:

    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.
User avatar
tomp
Site Admin
 
Posts: 289
Joined: Wed Jul 27, 2005 9:53 am
Location: Sunny Sanford Maine

Re: Importing graphs into custom web page.

Postby jm_eklund » Tue Nov 24, 2009 10:59 am

Is there any way to get a report of the daily/weekly/monthly/yearly?

Thanks
Jamie
jm_eklund
 
Posts: 11
Joined: Mon Nov 23, 2009 4:19 pm

Re: Importing graphs into custom web page.

Postby tomp » Tue Nov 24, 2009 11:31 am

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
User avatar
tomp
Site Admin
 
Posts: 289
Joined: Wed Jul 27, 2005 9:53 am
Location: Sunny Sanford Maine

Re: Importing graphs into custom web page.

Postby jm_eklund » Tue Dec 01, 2009 2:28 pm

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
jm_eklund
 
Posts: 11
Joined: Mon Nov 23, 2009 4:19 pm

Re: Importing graphs into custom web page.

Postby jm_eklund » Tue Dec 01, 2009 3:49 pm

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.

Postby jghidoni » Tue Dec 01, 2009 4:15 pm

Add the following to the end of the url, replacing USERNAME and PASSWORD with the login credentials:

&logon_username=USERNAME&logon_password=PASSWORD
User avatar
jghidoni
Site Admin
 
Posts: 147
Joined: Tue Nov 29, 2005 11:36 am


Return to Denika

Who is online

Users browsing this forum: No registered users and 0 guests

cron

Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes)
Most users ever online was 60 on Thu Jun 25, 2009 9:07 am

Users browsing this forum: No registered users and 0 guests