Discussion:
zenoss.nmap.IpServiceMap doesn't work
Nicodemo Peloso
2013-05-28 20:11:53 UTC
Permalink
Nicodemo Peloso [http://community.zenoss.org/people/nico_ps] created the discussion

"zenoss.nmap.IpServiceMap doesn't work"

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

--------------------------------------------------------------
When I enable the zenoss.nmap.IpServiceMap plugnin and then model the device I get the below error:

2013-05-28 17:00:05,499 WARNING zen.PythonClient: Error in zenoss.nmap.IpServiceMap: got stderr: 'Error #488: Your port specifications are illegal.  Example of proper form: "-100,200-1024,T:3000-4000,U:60000-"'

I found this http://community.zenoss.org/message/64775#64775#64775 http://community.zenoss.org/message/64775#64775 but get other error:

"-p 1-1024 -sT --open -oG - ${here/manageIp}"  ==>
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 84, in inner 
return callable(*args, **kw) 

"-p 1-1024 -sT --open -oG -" ==>
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 84, in inner 
return callable(*args, **kw) 

If ran this command from cmd work fine:
/opt/zenoss/bin/nmap -p 1-1024 -sT --open -oG - X.X.X.X
.
.
# Nmap done at Tue May XX 17:09:53 2013 -- 1 IP address (1 host up) scanned in 25.79 seconds
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
j053ph4
2013-05-29 15:30:03 UTC
Permalink
j053ph4 [http://community.zenoss.org/people/j053ph4] created the discussion

"Re: zenoss.nmap.IpServiceMap doesn't work"

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

--------------------------------------------------------------
my default is set to:

-p 1-10000 -sS -oG -

If i recall, it's the ''--open" that is giving you trouble.

I also have a slightly rewritten version of this plugin if you're interested in trying it out.

Hope this helps,

Joseph
--------------------------------------------------------------

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

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