New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Where to put files belonging to a Custom Object

Votes:

0

Your Vote:

Up

Down

Hi!

I created a custom object for a PRTG-Map. It does need some js, png, and swf files. Where to put these? I already tried a new folder below /public/ - but it seems like the webserver does not allow subfolders there - also it delivers only specific file types (it looks to me like for example htm files get delivered, but html aswell as swf etc. not).

Thanks for any advice! Rolf

maps prtg webserver

Created on Oct 28, 2016 9:37:10 AM by  rw (0) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

Hi Rolf,

Try putting it into /webroot/public/mapobjects as htm and place the files additionally needed files also there. Inside the htm make sure to have the links point to the correct location. Since those links should be "relative", it should work when just pointing to the filename and it will look for it inside the same folder.

Kind regards,

Erhard

Created on Oct 28, 2016 12:19:55 PM by  Erhard Mikulik [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi Erhard

thanks for the answer!

Hmmm.... The Custom Map Objects belong to /webroot/mapobjects? not /webroot/public/mapobjects? This folder has no function for me... And if I put the additional files directly to /webroot/mapobjects they also don't get served by the webserver... Neither by http://IP/myCustomFile.swf nor http://IP/webobjects/myCustomFile.swf

Is there any configuration for the webserver that defines what filetypes are getting processed by the webserver? Or if directories are allowed somewhere like in /webroot/public/?

Regards Rolf

Created on Oct 28, 2016 10:22:54 PM by  rw (0) 1



Votes:

0

Your Vote:

Up

Down

Hi Rolf,

/webroot/mapobjects should be fine. Try creating a htm-file as "wrapper" that holds links to the files you require.

Kind regards,

Erhard

Created on Oct 31, 2016 11:23:19 AM by  Erhard Mikulik [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.