[rrd-users] Re: Front-end in ASP?
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Fri Jan 17 00:10:03 MET 2003
On Thu, Jan 16, 2003 at 03:11:14PM -0600, Anthony Scott wrote:
>
> Hi. I have been searching for an RRD front-end lately. I have noticed that most, if not all, are written in PHP,
Your mailer fails to wrap making it hard to read your letters
> Perl, something like that.
> Is it possible to write a front-end in ASP
> using VBScript or maybe JavaScript? I know you can use other scripting
> languages for ASP.
The reason AFAIK is that these languages are used are that they are
popular, well supported and multi-platform.
Most importantly however, they have 'bindings' to the RRD libraries on
the OS so that the application can call fetch directly from Perl or
Python (and Ruby I suppose) without having to do the local equivalent of
starting the rrdtool process and feeding it commands through stdin and
reading the responses through stdout.
Since Windows Script Host/VBS is not an open language with a public API
and an extension facility like PerlXS this is probably not possible.
However, if you can use VBS to
. start a process
. read and write to stdin and stdout
then you probably can.
On the other hand, if you can make direct calls from VBS to library
functions, then I am talking through my hat and aopologise for wasting
your time. Go for it.
Otherwise, suggest you install Active State Perl or maybe Python since
it looks closer to the style of VBS.
> However, I am especially interested in VBScript
> because I work in an all Windows shop and it offers a lot of
> possibilities for sys admin scripting.
Why not encourage your admins to be literate and responsible, able to
make their own choices and respond to circumstances with robust and
dependable tools rather than taking whatever MS dishes out ?
If one can only 'program' (I use the term loosely) in one language
environment, one is lost.
> Thanks
> anthony scott,
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list