SNMP Script Bluesocket
Moderators: Developers, Moderators
SNMP Script Bluesocket
Hi
I´m newbie on Cacti.
I ´m a cacti user from 3 weeks ago.
I´m trying to make a little snmp script for Bluesocket Wireless Controller.
The sript must be collect relatime loged users.
MIB is .1.3.6.1.4.1.9967.1.13.1.2.0
My script is this, but don´t works
<interface>
<name>Bluesocket</name>
<description>Users</description>
<oid_index>.1.3.6.1.4.1.9967.1.13.1.2</oid_index>
<oid_num_indexes>.1.3.6.1.4.1.9967.1.13.1.2</oid_num_indexes>
<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9967.1.13.1.2</oid>
</ifIndex>
</fields>
</interface>
Thanks
I´m newbie on Cacti.
I ´m a cacti user from 3 weeks ago.
I´m trying to make a little snmp script for Bluesocket Wireless Controller.
The sript must be collect relatime loged users.
MIB is .1.3.6.1.4.1.9967.1.13.1.2.0
My script is this, but don´t works
<interface>
<name>Bluesocket</name>
<description>Users</description>
<oid_index>.1.3.6.1.4.1.9967.1.13.1.2</oid_index>
<oid_num_indexes>.1.3.6.1.4.1.9967.1.13.1.2</oid_num_indexes>
<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9967.1.13.1.2</oid>
</ifIndex>
</fields>
</interface>
Thanks
I´m again
verbose query result
+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/bluesocket.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9967.1.13.1.2'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/resource/snmp_queries/bluesocket.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/bluesocket.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/bluesocket.xml'
From command line its ok
[root@localhost ~]# snmpwalk -v 2c -c Canopy 10.100.0.30 .1.3.6.1.4.1.9967.1.13.1.2
SNMPv2-SMI::enterprises.9967.1.13.1.2.0 = INTEGER: 7
Sorry, and thanks!
verbose query result
+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/bluesocket.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9967.1.13.1.2'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/resource/snmp_queries/bluesocket.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/bluesocket.xml'
+ Found data query XML file at '/var/www/html/resource/snmp_queries/bluesocket.xml'
From command line its ok
[root@localhost ~]# snmpwalk -v 2c -c Canopy 10.100.0.30 .1.3.6.1.4.1.9967.1.13.1.2
SNMPv2-SMI::enterprises.9967.1.13.1.2.0 = INTEGER: 7
Sorry, and thanks!
If you only need to graph that single OID, use the snmp generic OID data template and graph templates.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Thanks!BSOD2600 wrote:If you only need to graph that single OID, use the snmp generic OID data template and graph templates.
I create a copy from generic data and graph template of snmp oid.
Data template
i use the oid on the field.
I create a graph template from data template.
I create a new graph using both, and the result is this.
Atachment.
No errors, but graph is always in nan state.
Thanks, ans Sorry
- Attachments
-
- bluesocket.JPG (86.25 KiB) Viewed 2280 times
Follow http://docs.cacti.net/manual:087:4_help ... #debugging why its not working.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Thanks BSOD2600BSOD2600 wrote:Follow http://docs.cacti.net/manual:087:4_help ... #debugging why its not working.
now rrd says ok
Poller cache shows snmp oid config
but the graph show this :
- Attachments
-
- graph_image.php.png (18.57 KiB) Viewed 2236 times
With debugging, did that OID return data? was the data updated in the rrd file?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
look for 'rrdtool update' that specifies the rrd file which is defined in that data source.hideik wrote:was the data updated in the rrd file? (Sorry but, i don´t know how can i see this)
Also, you probably want to change the data template to use a GAUGE instead of COUNTER type. Delete the rrd file once you make this change.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest