|
From: <lar...@co...> - 2006-05-24 20:52:39
|
I believe if you review the XML documentation you will find a tag that indicates that the method should be a get in this case rather than a walk. Look for it and let me know if it works for you.... TheWitness -------------- Original message -------------- From: Josh Tolley <jt...@pa...> > I'm creating a script to query weblogic via SNMP and get a bunch of > application-related info. I would be using an SNMP query instead of a > script query, but WebLogic 8.1's SNMP agent apparently doesn't support > the snmpbulk* commands cacti tries to use on it. Anyway, the problem is > that I can't get query_ variables to work in the graphs, so I end > up with 70+ graphs all named "|query_parent| - Sessions open on > |query_name|". Some details: > > The script query is defined in weblogic_sessions2.xml, which includes > fields like this: > > > > Application Index > input > index > > > Parent Server > output > parent > > > App Name > output > name > > > Current Sessions > output > cursess > > > > > The data template has a data source item defined, called cursess, which > should correspond to what's in the xml file. The graph template refers > to the right data source (cursess), and the title there is > "|query_parent| |query_name| WebApp Open Sessions". In the data query, > I've associated the graph template to this query, and added " > |query_parent| |query_name| Open Sessions" as the suggested graph title. > When add the data query to my weblogic host and create graphs, all the > graphs are called "|query_parent| |query_name| WebApp Open Sessions", > and the variables aren't replaced. What am I doing wrong? > > -Josh > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > cacti-user mailing list > cac...@li... > https://lists.sourceforge.net/lists/listinfo/cacti-user |