Discussion:
Zenoss ping via hostname
Mateusz Skała
2012-11-22 10:16:17 UTC
Permalink
Mateusz Skała [http://community.zenoss.org/people/Mateusz] created the discussion

"Zenoss ping via hostname"

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

--------------------------------------------------------------
  Hi,
it is possible to configure in Zenoss 4.2 ping from zenoss via hostname not ip. In 3.x Zenoss get ip from host name and ping this ip. I need to ping device with dynamic ip so must ping to hostname, or always before send ping get new ip.
Thx for answer.
--------------------------------------------------------------

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

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]
Ryan Matte
2012-11-22 22:44:33 UTC
Permalink
Ryan Matte [http://community.zenoss.org/people/rmatte] created the discussion

"Re: Zenoss ping via hostname"

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

--------------------------------------------------------------
Zenoss pings by IP, not by hostname, that's how it has always done it because there's no guarantee that the hostname of a device will be resolvable.  The only way to do something like this would be to create a script that checks for changes in IP addresses for the devices in the system and change the IP if it doesn't match, but it's not going to be an instantaneous update.
--------------------------------------------------------------

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

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]
Ryan Matte
2012-11-22 22:45:11 UTC
Permalink
Ryan Matte [http://community.zenoss.org/people/rmatte] created the discussion

"Re: Zenoss ping via hostname"

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

--------------------------------------------------------------
Either that or create a command datasource that executes a script to do the ping and alert if it fails, and have it do it with the hostname.
--------------------------------------------------------------

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

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]
Mateusz Skała
2012-11-27 09:10:56 UTC
Permalink
Mateusz Skała [http://community.zenoss.org/people/Mateusz] created the discussion

"Re: Zenoss ping via hostname"

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

--------------------------------------------------------------
Thanks for answer, please tell me where  is the best place to put this script. I will start this script automaticaly before pinging device on specific device class.
--------------------------------------------------------------

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

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]
Ryan Matte
2012-11-27 22:13:38 UTC
Permalink
Ryan Matte [http://community.zenoss.org/people/rmatte] created the discussion

"Re: Zenoss ping via hostname"

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

--------------------------------------------------------------
Download the Zenoss Admin guide and look at the section that explains command datasources.
--------------------------------------------------------------

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

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...