Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
http://xxx/cacti/plugins/nmidWebService/webservice.php
-> Returns a html file with the webservice functions
http://xxx/cacti/plugins/nmidWebService/webservice.php?wsdl
-> Returns some sort of XML file
the perl script will throw errors from the command line, as it needs some parameters. To test if it works or not, always use the link from the image ( the one you posted on the last page )
As you see from the above, the subnets are not in any logical order. I've managed to get the "All IP Subnets" part in order by using
$netIDs = db_fetch_assoc("select DISTINCT NetID from phpIP_addresses ORDER BY `ip` ASC");
at line 88 in get_data.php.
However, as the query for the tree/leaf subnets appears to be a join from multiple tables, I am unable to work out where to apply the same type of query. Could you offer any assistance with this ?
Thanks
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b
I'll have a look tonight. But you're correct for the Tree View of the IPs. The data for that tree is retrieved from the get_data.php file, so any sorting/changes there reflect that tree.
phalek wrote:I'll have a look tonight. But you're correct for the Tree View of the IPs. The data for that tree is retrieved from the get_data.php file, so any sorting/changes there reflect that tree.
Hi Phalek,
Did you have any time to look at this ?
Thanks
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b
and look at the (HTML) source code as it's better formated. Does it give back any IP ranges at all ?
If yes, then there's probalby some comma or braket missing somewhere.
Is there any way we could have a webconf later this day, so you can show me the problem ?
It's always a bit difficult to debug something without having the life data in front
Phalek - thanks for all the help so far. I'm limited on time (planning a trip Japan at present), so I will probably not get to this for a few weeks. In the meantime, I'll work with what I have.
Thanks again.
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b