Cheshire Cat Computing

Software support and information
It is currently Sat May 25, 2013 5:35 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: PDF Report
PostPosted: Sat Aug 06, 2005 5:26 am 
Offline
User

Joined: Wed Apr 13, 2005 4:18 pm
Posts: 4
Hi, I am currently running routers2.cgi 2.16-beta7 with mrtg 12.2 and rrdtool 1.2-11. The pdfreport.cgi works fine with all of my routers and switches. I get the following error when running the pdfreport against my pix firewalls:

ERROR: No HTML files!

I have looked at the configs and the only difference I see between the routers/switches and the firewalls is the way the interfaces are named.

The firewall interfaces have the following naming convention:

PIX-Firewall-'inside'-interface
PIX-Firewall-'outside'-interface

I am wondering if the quotes around inside and outside could be causing the issue and if so how can I fix this.


Thanks
James


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 06, 2005 11:52 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
The quotes are almost certainly causing this.

pdfreport builds up a command line for calling htmldoc which is then passed to the shell. If I remember correctly, the parameters are not quoted (whoops, my fault) and so any embedded quotes are likely to be removed.

In addition, I seem to remember some complex rules for how MRTG treats punctuation embedded in a target name when it is calculating the name of the corresponding rrd file.

The 'No HTML files' error is coming from htmldoc, and it is apparently unable to locate any of the temporary HTML data that has been generated, probably because of the quotes issue changing the apparent names of the files. I'll need to change the code to escape the quotes, and then put more quotes around the escaped parameter strings.

At the moment, I'm on paternity leave (first baby imminent) so no development time available at the moment. Ill be back in the office in 6 weeks.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 06, 2005 12:05 pm 
Offline
User

Joined: Wed Apr 13, 2005 4:18 pm
Posts: 4
Thanks for the quick response. Congrats and good luck..


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

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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:  
Powered by phpBB® Forum Software © phpBB Group