[rrd-users] remstats page-writer

2003-07-22 Thread Alberto E. Garrido
Hi list, I'm migrating to the newest version of remstats 1.0.13a and everything is ok but I'm lost with page-writer. I need to get a daily graph thumbail(for each rrd) when I click on a host listed at quick-index.cgi For example when I go to: http://localhost/remstats/dhcp/index.cgi currently I

[rrd-users] Re: Storing snmpget results in an array

2003-07-22 Thread Stephan Harren
Quite easy, try: @var=qx(snmpwalk ); Now you have all your stuff line by line in an array named var. To access it: foreach (@var) { print "$_\n"; } Or: foreach $test (@var) { print "$test\n"; } This way you'll get all the elements printed. Surely you can do anything you

[rrd-users] Storing snmpget results in an array

2003-07-22 Thread Stephen Cheung
Hi all, I've read through the manuals and mailing lists, but didn't find anything. I'm trying to do the following: code to get snmp data values: $var = `snmpget -Ov myipaddress public OID.0` (1,2,etc) I can get single values and assign it to a variable. No problems. To get all

[rrd-users] Re: Problems with RRDcgi - IIS

2003-07-22 Thread Simon Mullis
Also, don't forget to associate the relevant file-type (in this case .rrdcgi) to be handled by the rrdcgi executable... As far as IIS goes, the shebang won't make any difference. (Clue: go to Site Properties in IIS --> Home --> Configuration --> App Mappings) Cheers SM -Original Message-

[rrd-users] Re: VRULE midnight and HRULE maximum of timespan

2003-07-22 Thread Warnes, Jason SktnHR
Well for my HRULE I kind of cheated. I haven't had time to explore to see if there is a better way to do it because I was in a rush to get it done (isn't everything always a rush?). Anyway, what I did was before generating the graph in my Perl script I did an RRDs::fetch for the time period I was