![]() |
![]() |
Subject: | how to add the ip address to a device through the command line |
Author: | [Not Specified] |
Posted: | 2016-08-24 16:24 |
i haveloaded devices through the comand line
su - zenoss
zenbatchload mydevicelist.txt
how to add the ip address for the new devices through the command line
Subject: | You should be able to specify |
Author: | Jane Curry |
Posted: | 2016-08-31 05:04 |
You should be able to specify the ip address in your "mydevicelist.txt" file. Did you create this file by hand or did it come from a zenbatchdump command If the latter, then the setManageIp field should be present.
Here's an example from one of my zenbatchload files:
'/Devices/Network/Router/Cisco' zCollectorPlugins=['zenoss.snmp.NewDeviceMap', 'zenoss.snmp.DeviceMap', 'zenoss.snmp.CiscoMap', 'zenoss.snmp.InterfaceMap', 'zenoss.snmp.RouteMap'], cJCTest='this is a test'
'group-100-r1.class.example.org' cJCTest='this is a test', setHWProductKey=('.1.3.6.1.4.1.9.1.108', 'ciscoSystems'), setLastChange=DateTime('2013/08/12 18:15:41.484501 GMT+1'), setManageIp='10.191.100.4', setOSProductKey='IOS 12.0(12)', setPriority=3, setProdState=1000, setTitle='group-100-r1.class.example.org', setPerformanceMonitor='localhost', setLocation='Kandersteg', setSystems=['/Virtual', '/Test'], setGroups=['/raddle_group']
Note the setManageIp parameter.
Cheers,
Jane
Email: jane.curry@skills-1st.co.uk Web: https://www.skills-1st.co.uk
Subject: | Troubleshoot Missing Graphs For Known Data Points On Mon device |
Author: | [Not Specified] |
Posted: | 2016-09-01 16:27 |
can i know the same procodure which is shown below for zenoss 5.1.x
Procedure
Perform the following:
su - zenoss
$ zencommand run -v10 -d [deviceID] > zcommand_[deviceID].log 2>&1
$ grep rrd zcommand_[DeviceID].logIf there is no return from the grep command, then the collector is not receiving data from the device.This can be caused by various issues, including:
Subject: | Yes, just connect to the |
Author: | Jay Stanley |
Posted: | 2016-09-06 08:16 |
Yes, just connect to the zencommand container first. Also, your first question was answered. New unrelated questions should go into a new thread.
< |
Previous Unable to get email alert from zenoss notification |
Next How to reset dashboard back to default |
> |