![]() |
![]() |
Subject: | Setting zSnmpCommunity by zendmd |
Author: | [Not Specified] |
Posted: | 2014-05-28 06:20 |
Good morning, I try to setting the attribute zSnmpCommunity via zendmd.
Everything seems ok, I set up and make a commit; but when I check on the web guy the zSnmpCommunity parameter remain the default one (public).
This is my script:
>>> a = find('test *')
>>> a.zSnmpCommunity
'public'
>>> a.zSnmpCommunity = 'zenit'
>>> a.zSnmpCommunity
'zenit'
>>> commit()
What is wrong
Subject: | You should use the |
Author: | Chet Luther |
Posted: | 2014-06-23 09:59 |
You should use the setZenProperty() to set zProperties in zendmd.
a = find("test*")
a.setZenProperty('zSnmpCommunity', 'zenit')
commit()
Setting the property directly as you've done could potentially cause problems. You may have do do the following to get back into a good state.
a = find("test*")
del(a, 'zSnmpCommunity')
commit()
< |
Previous Maps not working - Sorry, we have no imagery here |
Next Monitoring AIX, disk IO? |
> |