Skip navigation
1437 Views 2 Replies Latest reply: Jun 5, 2012 5:07 AM by liondgr8 . RSS
liondgr8 . Rank: White Belt 14 posts since
Apr 30, 2012
Currently Being Moderated

May 31, 2012 11:09 AM

how to change templates properties through command line?

Hi,

 

Kindly help me regarding command line (other than from gui) to change the properties of the templates I have added through zenbatchload for specific devices in specific device class.

(Reference: http://community.zenoss.org/blogs/zenossblog/2010/06/29/tip-of-the-month-bulk-loading-devices-with-zenbatchload)

 

For eg:, I have added a device in class /device/linux with its templates as devices and apache.

Now I want to change default the apache templates properties such as port to be monitored only for that particular devices.

 

So can I do this using command line rather than through gui. Kindly suggest.

 

 

Regards,

Pranay

  • Apoorv Chincholkar Rank: White Belt 13 posts since
    Apr 25, 2012

    Hi Pranay,

     

    I am not sure whether you are asking about changing z-properties of a template, but if you are then you can refer below link: http://community.zenoss.org/message/66615#66615

    Refer this page, in which in the start of the page we have used wget property to add/edit any of the z-property of a template. It runs sucessfully, but when data type is 'lines' it fails.

     

    So in such case I have used zendmd command line shown at bottom of the page, it worked fine for me.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points