> Here are the MRTG configs I am using to generate my graphs. > Should be fairly straightforward for anyone who is familiar with > MRTG.
Scott... not willing to criticize or whatever, but... looking at your code and at the MRTG config, it sounds like you are fetching a value at a time from ASSP repeating the connections to the stats port over and over for each value; now, not that this is a big issue, but imHo it would be a better idea modifying the script this way call it using two args, the second being optional upon the first call (messages) in your case, pass to your script the second parameter (e.g. ASSP_SNMP.vbs messages 1) the other calls will remain as they are now, the modified script should check the parameters and if the second one is present, should fetch ALL the values from ASSP stats port and save them to a file; all the other calls to the script w/o the second parameter will just result in a read from the saved file; this way you'll still have "fresh data" but you won't be bashing over and over on the ASSP stats port Just to conclude; when it comes to vbscript, I'd suggest you to use this free editor http://www.vbsedit.com/ to create and edit them; it will ease things quite a lot ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Assp-test mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-test
