Asterisk snmp cacti
Moderators: Developers, Moderators
Asterisk snmp cacti
Hi all, I’ve been wrestling with Asterisk and Cacti for a few days now. The documentation out there is pretty thin on the ground but I’m almost there.
I was wondering if anyone can help me make that final leap to get my graphs populating data in cacti. Here is where I’m at so far and the steps i have taken to get to this point (lots so I’ll keep it as brief as I can).
I’m using asterisk 1.4.31 (Elastix) on centos 5.3.
Cacti is installed and working without issues for localhost Unix processes (logged on users, memory usage etc), so the host is up and I can read my cacti data from the mysql cacti user i created as per a guide.
What I don’t have working is asterisk data.
Asterisk is installed on the same machine as cacti so i’m only trying to get local data not remote).
I can see the MIB’s so the asterisk module is installed (had to download the source and recompile it to get it working).
I have the correct MIB’s setup in cacti for the asterisk graphs, I checked the numeric data with: “snmpwalk -v 1 -c public localhost asterisk†and was able to get the alpha explanations for MIB’s and I then did an: “ snmpwalk -v 2c -c public localhost ASTERISK-MIB::astChanTypeChannels.6†(example) to get the numeric MIB for each aspect i wanted to graph for asterisk and created the graphs.
Graphs show up but I don’t get any data in them.
My asterisk /etc/asterisk/res_snmp.conf has the following:-
[general]
subagent = yes
enabled = yes
Here is a copy of my snmpd.conf file (keep in mind I’m totally new to snmp so this file makes little sense to me):-
==========================================
rocommunity public
rwcommunity 127.0.0.1
master agentx
#agentXSocket /var/agentx/master
agentXperms 0660 0550 asterisk asterisk
SNMPD_FLAGS="${SNMPD_FLAGS} -x /var/agentx/master"
mibs +ASTERISK-MIB
com2sec local Localhost public
com2sec local 127.0.0.1 public
com2sec cacti Localhost cacti
com2sec cacti 127.0.0.1 cacti
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group cactiGroup v1 cacti
group cactiGroup v2c cacti
#group MyROGroup any mynetwork
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
view all included .1
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.7.4
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.3.4
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.2.6
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.2.4
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.7.1
view cactiROView included .1
access MyROGroup "" any noauth exact all all all
access MyRWGroup "" any noauth exact all all all
access cactiGroup "" any noauth exact cactiROView none none
============================================
I also have another file in /etc/snmp called snmp.conf
This is its contents:-
============================================
mibs +ASTERISK-MIB
==========================================
And i have a shell script in /user/local/bin called snmp_poller.sh
Contents of this script are:-
========================================
#!/bin/bash
# filename: snmp_poller.sh
# created this to make the polling process easier
# Can make updates to it and such to add functionality
MIBS=+ASTERISK-MIB
export MIBS
/usr/bin/php /var/www/html/cacti/poller.php
=========================================
Now I can see the snmp is working because if i do /var/log/messages | grep snmpd i get this output:-
May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:52239May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:52239May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:49004
May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:49004May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:45782May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:45782May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:39232May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:39232May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:35324May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:35324
I think my problem lies with either file permissions or more likely with my snmpd.conf but as I said before I’m totally new to snmp and the snmpd.conf makes little sense to me.
I understand the snmpd.conf file can be a security hole but I have iptables setup to drop all packets except the IP’s I white list so I don’t think that’s an issue in terms of security.
File permissions are:-
/Agentx/master: asterisk
snmpd.conf: root
snmp.conf: root
soller.php: cactiuser
snmp_poller.sh: root
Is anyone able to point me in the right direction here?
If i get this working i plan to document it and put it up in here, I’ve documented each step so far.
I was wondering if anyone can help me make that final leap to get my graphs populating data in cacti. Here is where I’m at so far and the steps i have taken to get to this point (lots so I’ll keep it as brief as I can).
I’m using asterisk 1.4.31 (Elastix) on centos 5.3.
Cacti is installed and working without issues for localhost Unix processes (logged on users, memory usage etc), so the host is up and I can read my cacti data from the mysql cacti user i created as per a guide.
What I don’t have working is asterisk data.
Asterisk is installed on the same machine as cacti so i’m only trying to get local data not remote).
I can see the MIB’s so the asterisk module is installed (had to download the source and recompile it to get it working).
I have the correct MIB’s setup in cacti for the asterisk graphs, I checked the numeric data with: “snmpwalk -v 1 -c public localhost asterisk†and was able to get the alpha explanations for MIB’s and I then did an: “ snmpwalk -v 2c -c public localhost ASTERISK-MIB::astChanTypeChannels.6†(example) to get the numeric MIB for each aspect i wanted to graph for asterisk and created the graphs.
Graphs show up but I don’t get any data in them.
My asterisk /etc/asterisk/res_snmp.conf has the following:-
[general]
subagent = yes
enabled = yes
Here is a copy of my snmpd.conf file (keep in mind I’m totally new to snmp so this file makes little sense to me):-
==========================================
rocommunity public
rwcommunity 127.0.0.1
master agentx
#agentXSocket /var/agentx/master
agentXperms 0660 0550 asterisk asterisk
SNMPD_FLAGS="${SNMPD_FLAGS} -x /var/agentx/master"
mibs +ASTERISK-MIB
com2sec local Localhost public
com2sec local 127.0.0.1 public
com2sec cacti Localhost cacti
com2sec cacti 127.0.0.1 cacti
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group cactiGroup v1 cacti
group cactiGroup v2c cacti
#group MyROGroup any mynetwork
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
view all included .1
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.7.4
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.3.4
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.2.6
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.2.4
view systemview included .1.3.6.1.4.1.22736.1.5.4.1.7.1
view cactiROView included .1
access MyROGroup "" any noauth exact all all all
access MyRWGroup "" any noauth exact all all all
access cactiGroup "" any noauth exact cactiROView none none
============================================
I also have another file in /etc/snmp called snmp.conf
This is its contents:-
============================================
mibs +ASTERISK-MIB
==========================================
And i have a shell script in /user/local/bin called snmp_poller.sh
Contents of this script are:-
========================================
#!/bin/bash
# filename: snmp_poller.sh
# created this to make the polling process easier
# Can make updates to it and such to add functionality
MIBS=+ASTERISK-MIB
export MIBS
/usr/bin/php /var/www/html/cacti/poller.php
=========================================
Now I can see the snmp is working because if i do /var/log/messages | grep snmpd i get this output:-
May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:52239May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:52239May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:49004
May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:49004May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:45782May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:45782May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:39232May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:39232May 23 13:30:04 elastix snmpd[3255]: Connection from UDP: [127.0.0.1]:35324May 23 13:30:04 elastix snmpd[3255]: Received SNMP packet(s) from UDP: [127.0.0.1]:35324
I think my problem lies with either file permissions or more likely with my snmpd.conf but as I said before I’m totally new to snmp and the snmpd.conf makes little sense to me.
I understand the snmpd.conf file can be a security hole but I have iptables setup to drop all packets except the IP’s I white list so I don’t think that’s an issue in terms of security.
File permissions are:-
/Agentx/master: asterisk
snmpd.conf: root
snmp.conf: root
soller.php: cactiuser
snmp_poller.sh: root
Is anyone able to point me in the right direction here?
If i get this working i plan to document it and put it up in here, I’ve documented each step so far.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Looks like you are inhrtiting something. PM Gandalf.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, PM means Private Message.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yea, sorry, the IPad is a bit annoying when you have fat fingers and attempt to type. Lot's of little spelling mistakes.
Gandalf know's quite a bit about Asterisk PBX's. I know nothing other than the setup looks like it's been customized quite a bit from the vanilla Cacti.
TheWitness
Gandalf know's quite a bit about Asterisk PBX's. I know nothing other than the setup looks like it's been customized quite a bit from the vanilla Cacti.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Asterisk snmp cacti
Please post output of this command. Please use -n to get numerical OIDsplazma wrote:... and I then did an: “ snmpwalk -v 2c -c public localhost ASTERISK-MIB::astChanTypeChannels.6†(example) to get the numeric MIB for each aspect i wanted to graph for asterisk and created the graphs.
...
R.
Hey thanks for replying gandalf.
I have to run the following command to get the numberic data:-
snmpwalk -On -c public -v 2c localhost asterisk
Here is the output
[root@elastix ~]# snmpwalk -On -c public -v 2c localhost asterisk
.1.3.6.1.4.1.22736.1.1.1.0 = STRING: 1.4.31
.1.3.6.1.4.1.22736.1.1.2.0 = Gauge32: 10431
.1.3.6.1.4.1.22736.1.2.1.0 = Timeticks: (197793) 0:32:57.93
.1.3.6.1.4.1.22736.1.2.2.0 = Timeticks: (197793) 0:32:57.93
.1.3.6.1.4.1.22736.1.2.3.0 = INTEGER: 2569
.1.3.6.1.4.1.22736.1.2.4.0 = STRING: /var/run/asterisk/asterisk.ctl
.1.3.6.1.4.1.22736.1.3.1.0 = INTEGER: 166
.1.3.6.1.4.1.22736.1.4.1.0 = INTEGER: 40
.1.3.6.1.4.1.22736.1.4.2.0 = STRING: us
.1.3.6.1.4.1.22736.1.4.3.1.1.1 = INTEGER: 1
.1.3.6.1.4.1.22736.1.4.3.1.1.2 = INTEGER: 2
.1.3.6.1.4.1.22736.1.4.3.1.1.3 = INTEGER: 3
.1.3.6.1.4.1.22736.1.4.3.1.1.4 = INTEGER: 4
.1.3.6.1.4.1.22736.1.4.3.1.1.5 = INTEGER: 5
.1.3.6.1.4.1.22736.1.4.3.1.1.6 = INTEGER: 6
.1.3.6.1.4.1.22736.1.4.3.1.1.7 = INTEGER: 7
.1.3.6.1.4.1.22736.1.4.3.1.1.8 = INTEGER: 8
.1.3.6.1.4.1.22736.1.4.3.1.1.9 = INTEGER: 9
.1.3.6.1.4.1.22736.1.4.3.1.1.10 = INTEGER: 10
.1.3.6.1.4.1.22736.1.4.3.1.1.11 = INTEGER: 11
.1.3.6.1.4.1.22736.1.4.3.1.1.12 = INTEGER: 12
.1.3.6.1.4.1.22736.1.4.3.1.1.13 = INTEGER: 13
.1.3.6.1.4.1.22736.1.4.3.1.1.14 = INTEGER: 14
.1.3.6.1.4.1.22736.1.4.3.1.1.15 = INTEGER: 15
.1.3.6.1.4.1.22736.1.4.3.1.1.16 = INTEGER: 16
.1.3.6.1.4.1.22736.1.4.3.1.1.17 = INTEGER: 17
.1.3.6.1.4.1.22736.1.4.3.1.1.18 = INTEGER: 18
.1.3.6.1.4.1.22736.1.4.3.1.1.19 = INTEGER: 19
.1.3.6.1.4.1.22736.1.4.3.1.1.20 = INTEGER: 20
.1.3.6.1.4.1.22736.1.4.3.1.1.21 = INTEGER: 21
.1.3.6.1.4.1.22736.1.4.3.1.1.22 = INTEGER: 22
.1.3.6.1.4.1.22736.1.4.3.1.1.23 = INTEGER: 23
.1.3.6.1.4.1.22736.1.4.3.1.1.24 = INTEGER: 24
.1.3.6.1.4.1.22736.1.4.3.1.1.25 = INTEGER: 25
.1.3.6.1.4.1.22736.1.4.3.1.1.26 = INTEGER: 26
.1.3.6.1.4.1.22736.1.4.3.1.1.27 = INTEGER: 27
.1.3.6.1.4.1.22736.1.4.3.1.1.28 = INTEGER: 28
.1.3.6.1.4.1.22736.1.4.3.1.1.29 = INTEGER: 29
.1.3.6.1.4.1.22736.1.4.3.1.1.30 = INTEGER: 30
.1.3.6.1.4.1.22736.1.4.3.1.1.31 = INTEGER: 31
.1.3.6.1.4.1.22736.1.4.3.1.1.32 = INTEGER: 32
.1.3.6.1.4.1.22736.1.4.3.1.1.33 = INTEGER: 33
.1.3.6.1.4.1.22736.1.4.3.1.1.34 = INTEGER: 34
.1.3.6.1.4.1.22736.1.4.3.1.1.35 = INTEGER: 35
.1.3.6.1.4.1.22736.1.4.3.1.1.36 = INTEGER: 36
.1.3.6.1.4.1.22736.1.4.3.1.1.37 = INTEGER: 37
.1.3.6.1.4.1.22736.1.4.3.1.1.38 = INTEGER: 38
.1.3.6.1.4.1.22736.1.4.3.1.1.39 = INTEGER: 39
.1.3.6.1.4.1.22736.1.4.3.1.1.40 = INTEGER: 40
.1.3.6.1.4.1.22736.1.4.3.1.2.1 = STRING: at
.1.3.6.1.4.1.22736.1.4.3.1.2.2 = STRING: au
.1.3.6.1.4.1.22736.1.4.3.1.2.3 = STRING: br
.1.3.6.1.4.1.22736.1.4.3.1.2.4 = STRING: be
.1.3.6.1.4.1.22736.1.4.3.1.2.5 = STRING: bg
.1.3.6.1.4.1.22736.1.4.3.1.2.6 = STRING: ch
.1.3.6.1.4.1.22736.1.4.3.1.2.7 = STRING: cl
.1.3.6.1.4.1.22736.1.4.3.1.2.8 = STRING: cn
.1.3.6.1.4.1.22736.1.4.3.1.2.9 = STRING: cz
.1.3.6.1.4.1.22736.1.4.3.1.2.10 = STRING: de
.1.3.6.1.4.1.22736.1.4.3.1.2.11 = STRING: dk
.1.3.6.1.4.1.22736.1.4.3.1.2.12 = STRING: ee
.1.3.6.1.4.1.22736.1.4.3.1.2.13 = STRING: fi
.1.3.6.1.4.1.22736.1.4.3.1.2.14 = STRING: fr
.1.3.6.1.4.1.22736.1.4.3.1.2.15 = STRING: gr
.1.3.6.1.4.1.22736.1.4.3.1.2.16 = STRING: hk
.1.3.6.1.4.1.22736.1.4.3.1.2.17 = STRING: hu
.1.3.6.1.4.1.22736.1.4.3.1.2.18 = STRING: in
.1.3.6.1.4.1.22736.1.4.3.1.2.19 = STRING: il
.1.3.6.1.4.1.22736.1.4.3.1.2.20 = STRING: it
.1.3.6.1.4.1.22736.1.4.3.1.2.21 = STRING: jp
.1.3.6.1.4.1.22736.1.4.3.1.2.22 = STRING: lt
.1.3.6.1.4.1.22736.1.4.3.1.2.23 = STRING: mx
.1.3.6.1.4.1.22736.1.4.3.1.2.24 = STRING: nl
.1.3.6.1.4.1.22736.1.4.3.1.2.25 = STRING: no
.1.3.6.1.4.1.22736.1.4.3.1.2.26 = STRING: nz
.1.3.6.1.4.1.22736.1.4.3.1.2.27 = STRING: phl
.1.3.6.1.4.1.22736.1.4.3.1.2.28 = STRING: pl
.1.3.6.1.4.1.22736.1.4.3.1.2.29 = STRING: pt
.1.3.6.1.4.1.22736.1.4.3.1.2.30 = STRING: ru
.1.3.6.1.4.1.22736.1.4.3.1.2.31 = STRING: sg
.1.3.6.1.4.1.22736.1.4.3.1.2.32 = STRING: za
.1.3.6.1.4.1.22736.1.4.3.1.2.33 = STRING: es
.1.3.6.1.4.1.22736.1.4.3.1.2.34 = STRING: se
.1.3.6.1.4.1.22736.1.4.3.1.2.35 = STRING: tr
.1.3.6.1.4.1.22736.1.4.3.1.2.36 = STRING: uk
.1.3.6.1.4.1.22736.1.4.3.1.2.37 = STRING: us
.1.3.6.1.4.1.22736.1.4.3.1.2.38 = STRING: us-o
.1.3.6.1.4.1.22736.1.4.3.1.2.39 = STRING: tw
.1.3.6.1.4.1.22736.1.4.3.1.2.40 = STRING: ve
.1.3.6.1.4.1.22736.1.4.3.1.3.1 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.2 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.3 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.4 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.5 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.6 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.7 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.8 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.9 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.10 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.11 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.12 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.13 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.14 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.15 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.16 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.17 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.18 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.19 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.20 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.21 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.22 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.23 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.24 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.25 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.26 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.27 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.28 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.29 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.30 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.31 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.32 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.33 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.34 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.35 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.36 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.37 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.38 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.39 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.40 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.1 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.2 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.3 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.4 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.5 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.6 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.7 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.8 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.9 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.10 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.11 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.12 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.13 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.14 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.15 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.16 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.17 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.18 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.19 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.20 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.21 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.22 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.23 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.24 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.25 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.26 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.27 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.28 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.29 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.30 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.31 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.32 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.33 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.34 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.35 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.36 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.37 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.38 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.39 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.40 = STRING:
.1.3.6.1.4.1.22736.1.5.1.0 = Wrong Type (should be INTEGER): Gauge32: 0
.1.3.6.1.4.1.22736.1.5.3.0 = INTEGER: 9
.1.3.6.1.4.1.22736.1.5.4.1.1.1 = INTEGER: 1
.1.3.6.1.4.1.22736.1.5.4.1.1.2 = INTEGER: 2
.1.3.6.1.4.1.22736.1.5.4.1.1.3 = INTEGER: 3
.1.3.6.1.4.1.22736.1.5.4.1.1.4 = INTEGER: 4
.1.3.6.1.4.1.22736.1.5.4.1.1.5 = INTEGER: 5
.1.3.6.1.4.1.22736.1.5.4.1.1.6 = INTEGER: 6
.1.3.6.1.4.1.22736.1.5.4.1.1.7 = INTEGER: 7
.1.3.6.1.4.1.22736.1.5.4.1.1.8 = INTEGER: 8
.1.3.6.1.4.1.22736.1.5.4.1.1.9 = INTEGER: 9
.1.3.6.1.4.1.22736.1.5.4.1.2.1 = STRING: Skinny
.1.3.6.1.4.1.22736.1.5.4.1.2.2 = STRING: WOOMERA
.1.3.6.1.4.1.22736.1.5.4.1.2.3 = STRING: Agent
.1.3.6.1.4.1.22736.1.5.4.1.2.4 = STRING: SIP
.1.3.6.1.4.1.22736.1.5.4.1.2.5 = STRING: Local
.1.3.6.1.4.1.22736.1.5.4.1.2.6 = STRING: Phone
.1.3.6.1.4.1.22736.1.5.4.1.2.7 = STRING: MGCP
.1.3.6.1.4.1.22736.1.5.4.1.2.8 = STRING: IAX2
.1.3.6.1.4.1.22736.1.5.4.1.2.9 = STRING: DAHDI
.1.3.6.1.4.1.22736.1.5.4.1.3.1 = STRING: Skinny Client Control Protocol (Skinny)
.1.3.6.1.4.1.22736.1.5.4.1.3.2 = STRING: Woomera Channel Driver
.1.3.6.1.4.1.22736.1.5.4.1.3.3 = STRING: Call Agent Proxy Channel
.1.3.6.1.4.1.22736.1.5.4.1.3.4 = STRING: Session Initiation Protocol (SIP)
.1.3.6.1.4.1.22736.1.5.4.1.3.5 = STRING: Local Proxy Channel Driver
.1.3.6.1.4.1.22736.1.5.4.1.3.6 = STRING: Standard Linux Telephony API Driver
.1.3.6.1.4.1.22736.1.5.4.1.3.7 = STRING: Media Gateway Control Protocol (MGCP)
.1.3.6.1.4.1.22736.1.5.4.1.3.8 = STRING: Inter Asterisk eXchange Driver (Ver 2)
.1.3.6.1.4.1.22736.1.5.4.1.3.9 = STRING: DAHDI Telephony Driver w/PRI
.1.3.6.1.4.1.22736.1.5.4.1.4.1 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.4.2 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.4.3 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.4 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.5 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.6 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.4.7 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.8 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.9 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.5.1 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.2 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.3 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.4 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.5 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.6 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.7 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.8 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.9 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.6.1 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.2 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.6.3 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.4 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.6.5 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.6 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.7 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.8 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.6.9 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.7.1 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.2 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.3 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.4 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.5 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.6 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.7 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.8 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.9 = Gauge32: 0
[root@elastix ~]#
So those are the MIBs i used to create my graphs. I have the following graphs using the following MIB's
For SIP: .1.3.6.1.4.1.22736.1.5.4.1.2.4
For SIP again: .1.3.6.1.4.1.22736.1.5.4.1.3.4
For Phone: .1.3.6.1.4.1.22736.1.5.4.1.2.6
I have to run the following command to get the numberic data:-
snmpwalk -On -c public -v 2c localhost asterisk
Here is the output
[root@elastix ~]# snmpwalk -On -c public -v 2c localhost asterisk
.1.3.6.1.4.1.22736.1.1.1.0 = STRING: 1.4.31
.1.3.6.1.4.1.22736.1.1.2.0 = Gauge32: 10431
.1.3.6.1.4.1.22736.1.2.1.0 = Timeticks: (197793) 0:32:57.93
.1.3.6.1.4.1.22736.1.2.2.0 = Timeticks: (197793) 0:32:57.93
.1.3.6.1.4.1.22736.1.2.3.0 = INTEGER: 2569
.1.3.6.1.4.1.22736.1.2.4.0 = STRING: /var/run/asterisk/asterisk.ctl
.1.3.6.1.4.1.22736.1.3.1.0 = INTEGER: 166
.1.3.6.1.4.1.22736.1.4.1.0 = INTEGER: 40
.1.3.6.1.4.1.22736.1.4.2.0 = STRING: us
.1.3.6.1.4.1.22736.1.4.3.1.1.1 = INTEGER: 1
.1.3.6.1.4.1.22736.1.4.3.1.1.2 = INTEGER: 2
.1.3.6.1.4.1.22736.1.4.3.1.1.3 = INTEGER: 3
.1.3.6.1.4.1.22736.1.4.3.1.1.4 = INTEGER: 4
.1.3.6.1.4.1.22736.1.4.3.1.1.5 = INTEGER: 5
.1.3.6.1.4.1.22736.1.4.3.1.1.6 = INTEGER: 6
.1.3.6.1.4.1.22736.1.4.3.1.1.7 = INTEGER: 7
.1.3.6.1.4.1.22736.1.4.3.1.1.8 = INTEGER: 8
.1.3.6.1.4.1.22736.1.4.3.1.1.9 = INTEGER: 9
.1.3.6.1.4.1.22736.1.4.3.1.1.10 = INTEGER: 10
.1.3.6.1.4.1.22736.1.4.3.1.1.11 = INTEGER: 11
.1.3.6.1.4.1.22736.1.4.3.1.1.12 = INTEGER: 12
.1.3.6.1.4.1.22736.1.4.3.1.1.13 = INTEGER: 13
.1.3.6.1.4.1.22736.1.4.3.1.1.14 = INTEGER: 14
.1.3.6.1.4.1.22736.1.4.3.1.1.15 = INTEGER: 15
.1.3.6.1.4.1.22736.1.4.3.1.1.16 = INTEGER: 16
.1.3.6.1.4.1.22736.1.4.3.1.1.17 = INTEGER: 17
.1.3.6.1.4.1.22736.1.4.3.1.1.18 = INTEGER: 18
.1.3.6.1.4.1.22736.1.4.3.1.1.19 = INTEGER: 19
.1.3.6.1.4.1.22736.1.4.3.1.1.20 = INTEGER: 20
.1.3.6.1.4.1.22736.1.4.3.1.1.21 = INTEGER: 21
.1.3.6.1.4.1.22736.1.4.3.1.1.22 = INTEGER: 22
.1.3.6.1.4.1.22736.1.4.3.1.1.23 = INTEGER: 23
.1.3.6.1.4.1.22736.1.4.3.1.1.24 = INTEGER: 24
.1.3.6.1.4.1.22736.1.4.3.1.1.25 = INTEGER: 25
.1.3.6.1.4.1.22736.1.4.3.1.1.26 = INTEGER: 26
.1.3.6.1.4.1.22736.1.4.3.1.1.27 = INTEGER: 27
.1.3.6.1.4.1.22736.1.4.3.1.1.28 = INTEGER: 28
.1.3.6.1.4.1.22736.1.4.3.1.1.29 = INTEGER: 29
.1.3.6.1.4.1.22736.1.4.3.1.1.30 = INTEGER: 30
.1.3.6.1.4.1.22736.1.4.3.1.1.31 = INTEGER: 31
.1.3.6.1.4.1.22736.1.4.3.1.1.32 = INTEGER: 32
.1.3.6.1.4.1.22736.1.4.3.1.1.33 = INTEGER: 33
.1.3.6.1.4.1.22736.1.4.3.1.1.34 = INTEGER: 34
.1.3.6.1.4.1.22736.1.4.3.1.1.35 = INTEGER: 35
.1.3.6.1.4.1.22736.1.4.3.1.1.36 = INTEGER: 36
.1.3.6.1.4.1.22736.1.4.3.1.1.37 = INTEGER: 37
.1.3.6.1.4.1.22736.1.4.3.1.1.38 = INTEGER: 38
.1.3.6.1.4.1.22736.1.4.3.1.1.39 = INTEGER: 39
.1.3.6.1.4.1.22736.1.4.3.1.1.40 = INTEGER: 40
.1.3.6.1.4.1.22736.1.4.3.1.2.1 = STRING: at
.1.3.6.1.4.1.22736.1.4.3.1.2.2 = STRING: au
.1.3.6.1.4.1.22736.1.4.3.1.2.3 = STRING: br
.1.3.6.1.4.1.22736.1.4.3.1.2.4 = STRING: be
.1.3.6.1.4.1.22736.1.4.3.1.2.5 = STRING: bg
.1.3.6.1.4.1.22736.1.4.3.1.2.6 = STRING: ch
.1.3.6.1.4.1.22736.1.4.3.1.2.7 = STRING: cl
.1.3.6.1.4.1.22736.1.4.3.1.2.8 = STRING: cn
.1.3.6.1.4.1.22736.1.4.3.1.2.9 = STRING: cz
.1.3.6.1.4.1.22736.1.4.3.1.2.10 = STRING: de
.1.3.6.1.4.1.22736.1.4.3.1.2.11 = STRING: dk
.1.3.6.1.4.1.22736.1.4.3.1.2.12 = STRING: ee
.1.3.6.1.4.1.22736.1.4.3.1.2.13 = STRING: fi
.1.3.6.1.4.1.22736.1.4.3.1.2.14 = STRING: fr
.1.3.6.1.4.1.22736.1.4.3.1.2.15 = STRING: gr
.1.3.6.1.4.1.22736.1.4.3.1.2.16 = STRING: hk
.1.3.6.1.4.1.22736.1.4.3.1.2.17 = STRING: hu
.1.3.6.1.4.1.22736.1.4.3.1.2.18 = STRING: in
.1.3.6.1.4.1.22736.1.4.3.1.2.19 = STRING: il
.1.3.6.1.4.1.22736.1.4.3.1.2.20 = STRING: it
.1.3.6.1.4.1.22736.1.4.3.1.2.21 = STRING: jp
.1.3.6.1.4.1.22736.1.4.3.1.2.22 = STRING: lt
.1.3.6.1.4.1.22736.1.4.3.1.2.23 = STRING: mx
.1.3.6.1.4.1.22736.1.4.3.1.2.24 = STRING: nl
.1.3.6.1.4.1.22736.1.4.3.1.2.25 = STRING: no
.1.3.6.1.4.1.22736.1.4.3.1.2.26 = STRING: nz
.1.3.6.1.4.1.22736.1.4.3.1.2.27 = STRING: phl
.1.3.6.1.4.1.22736.1.4.3.1.2.28 = STRING: pl
.1.3.6.1.4.1.22736.1.4.3.1.2.29 = STRING: pt
.1.3.6.1.4.1.22736.1.4.3.1.2.30 = STRING: ru
.1.3.6.1.4.1.22736.1.4.3.1.2.31 = STRING: sg
.1.3.6.1.4.1.22736.1.4.3.1.2.32 = STRING: za
.1.3.6.1.4.1.22736.1.4.3.1.2.33 = STRING: es
.1.3.6.1.4.1.22736.1.4.3.1.2.34 = STRING: se
.1.3.6.1.4.1.22736.1.4.3.1.2.35 = STRING: tr
.1.3.6.1.4.1.22736.1.4.3.1.2.36 = STRING: uk
.1.3.6.1.4.1.22736.1.4.3.1.2.37 = STRING: us
.1.3.6.1.4.1.22736.1.4.3.1.2.38 = STRING: us-o
.1.3.6.1.4.1.22736.1.4.3.1.2.39 = STRING: tw
.1.3.6.1.4.1.22736.1.4.3.1.2.40 = STRING: ve
.1.3.6.1.4.1.22736.1.4.3.1.3.1 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.2 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.3 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.4 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.5 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.6 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.7 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.8 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.9 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.10 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.11 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.12 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.13 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.14 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.15 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.16 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.17 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.18 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.19 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.20 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.21 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.22 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.23 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.24 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.25 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.26 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.27 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.28 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.29 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.30 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.31 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.32 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.33 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.34 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.35 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.36 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.37 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.38 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.39 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.3.40 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.1 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.2 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.3 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.4 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.5 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.6 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.7 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.8 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.9 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.10 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.11 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.12 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.13 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.14 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.15 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.16 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.17 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.18 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.19 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.20 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.21 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.22 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.23 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.24 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.25 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.26 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.27 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.28 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.29 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.30 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.31 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.32 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.33 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.34 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.35 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.36 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.37 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.38 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.39 = STRING:
.1.3.6.1.4.1.22736.1.4.3.1.4.40 = STRING:
.1.3.6.1.4.1.22736.1.5.1.0 = Wrong Type (should be INTEGER): Gauge32: 0
.1.3.6.1.4.1.22736.1.5.3.0 = INTEGER: 9
.1.3.6.1.4.1.22736.1.5.4.1.1.1 = INTEGER: 1
.1.3.6.1.4.1.22736.1.5.4.1.1.2 = INTEGER: 2
.1.3.6.1.4.1.22736.1.5.4.1.1.3 = INTEGER: 3
.1.3.6.1.4.1.22736.1.5.4.1.1.4 = INTEGER: 4
.1.3.6.1.4.1.22736.1.5.4.1.1.5 = INTEGER: 5
.1.3.6.1.4.1.22736.1.5.4.1.1.6 = INTEGER: 6
.1.3.6.1.4.1.22736.1.5.4.1.1.7 = INTEGER: 7
.1.3.6.1.4.1.22736.1.5.4.1.1.8 = INTEGER: 8
.1.3.6.1.4.1.22736.1.5.4.1.1.9 = INTEGER: 9
.1.3.6.1.4.1.22736.1.5.4.1.2.1 = STRING: Skinny
.1.3.6.1.4.1.22736.1.5.4.1.2.2 = STRING: WOOMERA
.1.3.6.1.4.1.22736.1.5.4.1.2.3 = STRING: Agent
.1.3.6.1.4.1.22736.1.5.4.1.2.4 = STRING: SIP
.1.3.6.1.4.1.22736.1.5.4.1.2.5 = STRING: Local
.1.3.6.1.4.1.22736.1.5.4.1.2.6 = STRING: Phone
.1.3.6.1.4.1.22736.1.5.4.1.2.7 = STRING: MGCP
.1.3.6.1.4.1.22736.1.5.4.1.2.8 = STRING: IAX2
.1.3.6.1.4.1.22736.1.5.4.1.2.9 = STRING: DAHDI
.1.3.6.1.4.1.22736.1.5.4.1.3.1 = STRING: Skinny Client Control Protocol (Skinny)
.1.3.6.1.4.1.22736.1.5.4.1.3.2 = STRING: Woomera Channel Driver
.1.3.6.1.4.1.22736.1.5.4.1.3.3 = STRING: Call Agent Proxy Channel
.1.3.6.1.4.1.22736.1.5.4.1.3.4 = STRING: Session Initiation Protocol (SIP)
.1.3.6.1.4.1.22736.1.5.4.1.3.5 = STRING: Local Proxy Channel Driver
.1.3.6.1.4.1.22736.1.5.4.1.3.6 = STRING: Standard Linux Telephony API Driver
.1.3.6.1.4.1.22736.1.5.4.1.3.7 = STRING: Media Gateway Control Protocol (MGCP)
.1.3.6.1.4.1.22736.1.5.4.1.3.8 = STRING: Inter Asterisk eXchange Driver (Ver 2)
.1.3.6.1.4.1.22736.1.5.4.1.3.9 = STRING: DAHDI Telephony Driver w/PRI
.1.3.6.1.4.1.22736.1.5.4.1.4.1 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.4.2 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.4.3 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.4 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.5 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.6 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.4.7 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.8 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.4.9 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.5.1 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.2 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.3 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.4 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.5 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.6 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.7 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.8 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.5.9 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.6.1 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.2 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.6.3 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.4 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.6.5 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.6 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.7 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.6.8 = INTEGER: true(1)
.1.3.6.1.4.1.22736.1.5.4.1.6.9 = INTEGER: false(2)
.1.3.6.1.4.1.22736.1.5.4.1.7.1 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.2 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.3 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.4 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.5 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.6 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.7 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.8 = Gauge32: 0
.1.3.6.1.4.1.22736.1.5.4.1.7.9 = Gauge32: 0
[root@elastix ~]#
So those are the MIBs i used to create my graphs. I have the following graphs using the following MIB's
For SIP: .1.3.6.1.4.1.22736.1.5.4.1.2.4
For SIP again: .1.3.6.1.4.1.22736.1.5.4.1.3.4
For Phone: .1.3.6.1.4.1.22736.1.5.4.1.2.6
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Again, graphing a string does not make sense. The whole snmpwalk from above does not show a single useful numeric value, IMHO.plazma wrote:Well those are basically the only MIB's i'm interested in so I used them for the graphs.
I can tell you how to graph numbers, if you only show me the OID that reports that number
R.
Re: Asterisk snmp cacti
I have been working for about a week to try and get Asterisk graphs over to my Cacti box. This week was about my 4th on the Linux environment. I have installed CactiEZ (betting thats a forum party foul too) all the graphs included ran right out of the box - after the setup on my Asterisk box. I have the standard memory/cpu/load graphs but I want channels/heartbeat graphs too. I would greatly appreciate any help you can spare.
Cacti Version - 0.8.7c
Plugin Architecture - 2.2
Poller Type - Cactid v
Server Info - Linux 2.6.9-78.0.13.ELsmp
Web Server - Apache/2.0.63 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.68
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
- Global Plugin Settings (settings - v0.5)
Large Site Performane Booster for Cacti (boost - v2.2)
Device Monitoring (monitor - v0.8.2)
Network Discovery (discovery - v0.8.5)
Network Tools (tools - v0.3)
Syslog Monitoring (syslog - v0.5.2)
Device Tracking (mactrack - v1.1)
Login Page Mod (loginmod - v1.0)
Update Checker (update - v0.4)
FlowView (flowview - v0.6)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
PHP Network Weathermap (weathermap - v0.95b)
docs
Cacti-ReportIt (reportit - v0.6.1)
Router Configs (routerconfigs - v0.1)
WMI Query (wmi - v0.1)
Realtime for Cacti (realtime - v0.35)
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Asterisk snmp cacti
In case you won't find such templates on the Scripts and Templates forum, you will have to create them on your own. See 1st link of my sig for related walkthroughs
R.
R.
Who is online
Users browsing this forum: No registered users and 1 guest