sadat khan
2012-12-15 07:51:19 UTC
sadat khan [http://community.zenoss.org/people/sadat.ali.khan] created the discussion
"zensendevent called twice"
To view the discussion, visit: http://community.zenoss.org/message/70552#70552
--------------------------------------------------------------
hi,
  i have a small shell script which simply calls zensendevent with some test message , key and component. I have configured the script as a command to be run from zenoss. The script goes like the following
############
zensendevent -d <device name> -i <ip> -y test_key -p test_component -c /Perf/Snmp/Brocade -s Warn some test message
echo "it is done"
exit 5
############
the script is being called successfully. The strange thing is the event count increments by 2 for each run of the script. that is 2 for the first run , 4 for the second run etc...
  any pointers ?
regards
Sadat Ali Khan
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70552#70552]
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]
"zensendevent called twice"
To view the discussion, visit: http://community.zenoss.org/message/70552#70552
--------------------------------------------------------------
hi,
  i have a small shell script which simply calls zensendevent with some test message , key and component. I have configured the script as a command to be run from zenoss. The script goes like the following
############
zensendevent -d <device name> -i <ip> -y test_key -p test_component -c /Perf/Snmp/Brocade -s Warn some test message
echo "it is done"
exit 5
############
the script is being called successfully. The strange thing is the event count increments by 2 for each run of the script. that is 2 for the first run , 4 for the second run etc...
  any pointers ?
regards
Sadat Ali Khan
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70552#70552]
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]