<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body
 style="font-family: Calibri; font-size: 11pt;" bgcolor="#FFFFFF" 
text="#000000">
<div style="font-size: 11pt;font-family: Calibri;"><span 
style="font-family: Calibri;">Hi<br><br>I'm trying to export calls count
 into snmp for graphing with zenoss.<br>I used this post for cacti.&nbsp; 
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Snmp_Cacti">http://wiki.freeswitch.org/wiki/Snmp_Cacti</a><br><br><br>Script:<br><br>#!/bin/bash<br>/usr/local/freeswitch/bin/fs_cli
 -x "show calls count" | grep total | awk '{print $1}'<br><br><br>Permissions:<br><br>-rwxrwxrwx&nbsp;
 1 root staff&nbsp; 295 Jan 29 17:01 curcalls<br><br><br>in snmpd.conf I have
 following:<br><br>### ---- FreeSWITCH Active Calls ----<br>extend 
.1.3.6.1.4.1.2021.8.1.101 curcalls /usr/local/scripts/curcalls<br><br><br>When
 I run:<br><br>snmpwalk localhost -c public -v2c 
.1.3.6.1.4.1.2021.8.1.101<br><br>I get following output:<br><br>iso.3.6.1.4.1.2021.8.1.101.1.0
 = INTEGER: 1<br>iso.3.6.1.4.1.2021.8.1.101.2.1.2.8.99.117.114.99.97.108.108.115
 = STRING: "/usr/local/freeswitch/bin/fs_cli -x 'show calls count' | 
grep total | awk '{print $1}'"<br>iso.3.6.1.4.1.2021.8.1.101.2.1.3.8.99.117.114.99.97.108.108.115
 = ""<br>iso.3.6.1.4.1.2021.8.1.101.2.1.4.8.99.117.114.99.97.108.108.115
 = ""<br>iso.3.6.1.4.1.2021.8.1.101.2.1.5.8.99.117.114.99.97.108.108.115
 = INTEGER: 5<br>iso.3.6.1.4.1.2021.8.1.101.2.1.6.8.99.117.114.99.97.108.108.115
 = INTEGER: 1<br>iso.3.6.1.4.1.2021.8.1.101.2.1.7.8.99.117.114.99.97.108.108.115
 = INTEGER: 1<br>iso.3.6.1.4.1.2021.8.1.101.2.1.20.8.99.117.114.99.97.108.108.115
 = INTEGER: 4<br>iso.3.6.1.4.1.2021.8.1.101.2.1.21.8.99.117.114.99.97.108.108.115
 = INTEGER: 1<br>iso.3.6.1.4.1.2021.8.1.101.3.1.1.8.99.117.114.99.97.108.108.115
 = STRING: "/usr/local/freeswitch/bin/fs_cli: Permission denied"<br>iso.3.6.1.4.1.2021.8.1.101.3.1.2.8.99.117.114.99.97.108.108.115
 = STRING: "/usr/local/freeswitch/bin/fs_cli: Permission denied"<br>iso.3.6.1.4.1.2021.8.1.101.3.1.3.8.99.117.114.99.97.108.108.115
 = INTEGER: 1<br>iso.3.6.1.4.1.2021.8.1.101.3.1.4.8.99.117.114.99.97.108.108.115
 = INTEGER: 1<br>iso.3.6.1.4.1.2021.8.1.101.4.1.2.8.99.117.114.99.97.108.108.115.1
 = STRING: "/usr/local/freeswitch/bin/fs_cli: Permission denied"<br><br><br>I
 run on Debian 6.0 with FreeSWITCH version:<br>FreeSWITCH Version 
1.2.15+git~20131210T035405Z~b1288520bc~64bit (git b128852 2013-12-10 
03:54:05Z 64bit)<br><br><br>Any input will be appreciated.<br><br><br>Thank
 you<br></span>-- <br><div class="moz-signature"><span><span 
style="background-color: rgba(255, 255, 255, 0);">Deon</span></span><br>
</div></div>
</body>
</html>