~ubuntu-branches/ubuntu/saucy/munin/saucy

« back to all changes in this revision

Viewing changes to plugins/node.d/asterisk_voicemail.in

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-06-11 12:54:28 UTC
  • mfrom: (8.1.30 sid)
  • Revision ID: package-import@ubuntu.com-20120611125428-k8z25s77rp755vxe
Tags: 2.0.0-1ubuntu1
* Resync with Debian unstable.
* d/munin-node.upstart,munin.upstart: Add upstart configurations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
 
110
110
## Request status of messages.
111
111
$pop->print("Action: command");
112
 
$pop->print("Command: show voicemail users");
 
112
$pop->print("Command: voicemail show users");
113
113
$pop->print("");
114
114
 
115
115
#Context    Mbox  User                      Zone       NewMsg
133
133
$pop->print("Action: logoff");
134
134
$pop->print("");
135
135
 
 
136
## Exhaust buffer before closing (to avoid polluting Asterisk's logs)
 
137
while ($line = $pop->getline) {}
 
138
 
136
139
print "messages.value $results\n";
137
140
# vim:syntax=perl