Discussion:
Add networks via zendmd
Rob Eagle
2012-03-09 17:20:14 UTC
Permalink
Rob Eagle [http://community.zenoss.org/people/reagle] created the discussion

"Add networks via zendmd"

To view the discussion, visit: http://community.zenoss.org/message/65091#65091

--------------------------------------------------------------
Getting WARNING zen.ZenDisc: No networks found for x.x.x.x/x and I think it is because the network segment isn't added in the Networks area.  Anyone know how to upload Networks via zendmd?  Have about 1800 network segments?
Thanks in advance for any help,
--Rob
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65091#65091]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-03-10 01:20:02 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Add networks via zendmd"

To view the discussion, visit: http://community.zenoss.org/message/65105#65105

--------------------------------------------------------------
dmd.Networks.createNet(netip, netmask=24)
Try it on a test box, and don't forget to run commit() after your loop.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65105#65105]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Rob Eagle
2012-03-12 13:21:00 UTC
Permalink
Rob Eagle [http://community.zenoss.org/people/reagle] created the discussion

"Re: Add networks via zendmd"

To view the discussion, visit: http://community.zenoss.org/message/65117#65117

--------------------------------------------------------------
Got me on the right track, dmd.Networks.createNet("1.1.7.0/24") seems to work, but still have more to add and then run some discoveries to see (trying to run via cron).  Thanks for the lead dpetzel,
--Rob
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65117#65117]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...