Cheshire Cat Computing

Software support and information
It is currently Mon May 20, 2013 1:25 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject:
PostPosted: Sat May 28, 2005 12:32 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
routers2 will pass to a plugin the cfg filename, and the MRTG targetname, but not the interface number since it often doesnt have it. However, you can pass a number by adding your own extra parameter to the plugin, if you want.

From your post, it looks like there is a bug in the plugin (the HTTP headers are all mixed up) -- this isn't one of mine (its a contrib), but I'll take a look on Monday, it may be that something has been broken in the plugin API in the latest version.

Can you let me know your routers2 version, and the version of your Perl CGI library? Make sure you dont have a very old CGI library, too.

Steve

_________________
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: Thu Jun 02, 2005 10:47 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
You can add an extra parameter when you define the Extension.

Code:
routers.cgi*Extension[ezwf]: "Eztension name" /cgi-bin/foo.cgi?bar=baz


The parameter bar is passed, along with all the other API parameters.

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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