diff options
author | Ulises Cervino Beresi <ulises@cloudant.com> | 2013-09-04 23:08:43 +0100 |
---|---|---|
committer | Ulises Cervino Beresi <ulises@cloudant.com> | 2013-09-04 23:21:42 +0100 |
commit | 2192122f57c8db1eee040e1a0e684a9895de989a (patch) | |
tree | c6f0d839f0a52cb056b4147cd52226870ba08e9c | |
parent | c9c262beea251105d57c32bc3c32a8e641c91667 (diff) | |
download | couchdb-2192122f57c8db1eee040e1a0e684a9895de989a.tar.gz |
Fix malformed send_snmptrap arglist.
BugzId: 22772
-rw-r--r-- | src/custodian/src/custodian_server.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custodian/src/custodian_server.erl b/src/custodian/src/custodian_server.erl index cecc9f2ef..55f7b46b1 100644 --- a/src/custodian/src/custodian_server.erl +++ b/src/custodian/src/custodian_server.erl @@ -132,5 +132,5 @@ send_snmp_alert(0, AlertType, ClearMib, _) -> os:cmd(Cmd); send_snmp_alert(Count, AlertType, _, AlertMib) when is_integer(Count) -> twig:log(crit, "~B ~s in this cluster", [Count, AlertType]), - Cmd = lists:concat(["send_snmptrap --trap CLOUDANT-DBCORE-MIB::cloudantDbcore", AlertMib," -o cloudantDbcoreShardCount:INTEGER ", Count]), + Cmd = lists:concat(["send_snmptrap --trap CLOUDANT-DBCORE-MIB::cloudantDbcore", AlertMib," -o cloudantDbcoreShardCount:INTEGER:", Count]), os:cmd(Cmd). |