Skip to content

Instantly share code, notes, and snippets.

@justizin
Created January 26, 2013 02:10
Show Gist options
  • Save justizin/4639658 to your computer and use it in GitHub Desktop.
Save justizin/4639658 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/etc/zabbix/alert.d//pagerduty", line 239, in <module>
pagerduty_queue.enqueue(Zabbix(sys.argv).event())
File "/etc/zabbix/alert.d//pagerduty", line 213, in event
event = self._parse_zabbix_body(self.arguments[3])
File "/etc/zabbix/alert.d//pagerduty", line 197, in _parse_zabbix_body
return dict(line.strip().split(':', 1) for line in body_str.strip().split('\n'))
ValueError: dictionary update sequence element #4 has length 1; 2 is required
@SinghDivneet
Copy link

how did you resolve this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment