Cheshire Cat Computing

Software support and information
It is currently Sun Nov 09, 2025 10:06 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Mar 23, 2004 11:49 am 
Offline
User

Joined: Tue Mar 23, 2004 11:13 am
Posts: 8
I posted this in the MRTG section, but I think it may have to do with the CGI script. Here is the message I am getting:

---------------------------------------------
There files are taken from the cfgpath and cfgfiles directives in the [routers.cgi] section of the routers.conf file. If no files are listed below, then you should check that these definitions are correct.

confpath = C:\mrtg\bin
cfgfiles = *.cfg

MRTG file name Description Visible Valid Notes

--------------------------------------------------------------------------------

MRTG targets check
Current device: ()
MRTG file:


I have two cfg files sitting in that directory. Any idea why it isn't finding them?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Mar 23, 2004 2:42 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
If you really have files matching

C:\mrtg\bin\*.cfg

then check that the web server process actually has rights to read these files and the directory listing.

Steve


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Mar 24, 2004 2:32 am 
Offline
User

Joined: Tue Mar 23, 2004 11:13 am
Posts: 8
Thanks Steve! That was it. I wasn't having this problem when I had them off my www root, maybe there was a different problem at the time.

Do you recommend placing them in one of the website directories or somewhere else?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Mar 24, 2004 9:49 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Definitely DO NOT place them in one of the website directories (under wwwroot) since this is a security risk (everyone can see your SNMP community strings and device addresses). The example routers2.cgi installation on the website does place them uin the website, but this is for demonstration purposes only and they do not contain 'real' information.

Steve


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group