List of IP's
-
-
Hi.
You can get this list from DB using following query:
SELECT interfaces.ip_addr AS interfaces_ip_addr, interfaces.ip_netmask AS interfaces_ip_netmask, object_properties.name AS object_properties_name, interfaces.node_id AS interfaces_node_id FROM object_properties INNER JOIN interfaces ON object_properties.object_id = interfaces.node_id ORDER BY interfaces_node_id, interfaces_ip_addrI've also made a simple report for that, it's available in svn: http://svn.netxms.org/public/netxms/trunk/reports/IP Inventory.jrxml
To run it you need to setup your netxms server first:
- download https://netxms.org/report-generator.jar and put it into server's DataDirectory (default values are c:\NetXMS\var on Windows and $prefix/share/netxms/ on UNIX)
- add following parameters to netxmsd.conf:
JavaPath=/usr/bin/java JDBCDriver=org.postgresql.Driver JDBCUrl=jdbc:postgresql://localhost/netxmsAfter that you could import report definition in management console by right click on "Reports" in the object browser and selecting "New Report"
-
-
My bad, it should be https://netxms.org/report-generator.jar (or you can build it from svn: https://svn.netxms.org/public/netxms/trunk/src/java/report-generator)
I don't have MSSQL available right not to test, but connection string should be like jdbc:microsoft:sqlserver://server_name:port/dbname. Port (including colon) is optional, default value is 1433.
Also set JDBCDriver to "com.microsoft.sqlserver.jdbc.SQLServerDriver".
-
Hi Alex,
I followed your steps and was able to import the report and open it.
Executing it was successful. when I then try to Render it to PDF I get the "Save File" dialog, but after clicking the Save button I receive the following error:
Cannot render report IP List job 1: Input/Output errorAny clue?
Regards,
Dan
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login