A brand new data query for wireless signal monitoring on mikrotik boards based on SNMP. Written on cacti 0.8.6j
It is tested with ifs @ client mode
Yet to be tested for other modes, especially for AP mode.
It does not support multiple clients for aps.
Information on installing as well as relevant files are included into the zip
Anyone with a commend on this is welcome.
Another Wireless Signal Data Query for Mikrotik (SNMP)
Moderators: Developers, Moderators
Another Wireless Signal Data Query for Mikrotik (SNMP)
- Attachments
-
- cacti_mik_snmp-0.9.zip
- (67.75 KiB) Downloaded 544 times
-
- graph_image.php.png (95.02 KiB) Viewed 6428 times
-
- Posts: 5
- Joined: Fri Jul 18, 2008 5:14 pm
- Contact:
I attempted to load this however I cannot create the graph.
+ Running data query [15].
+ Found type = '6 '[script query].
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/mikrotik_wirelless_signal_snmp.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 index'
+ Executing script query '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 query index'
+ Executing script query '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 query ifname'
+ Executing script query '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 query iwrtcmac'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/mikrotik_wirelless_signal_snmp.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/mikrotik_wirelless_signal_snmp.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/mikrotik_wirelless_signal_snmp.xml'
+ Running data query [15].
+ Found type = '6 '[script query].
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/mikrotik_wirelless_signal_snmp.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 index'
+ Executing script query '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 query index'
+ Executing script query '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 query ifname'
+ Executing script query '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 query iwrtcmac'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/mikrotik_wirelless_signal_snmp.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/mikrotik_wirelless_signal_snmp.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/mikrotik_wirelless_signal_snmp.xml'
Hello,
this does not show an error ?
Should you wait for a couple of samplings for the new graph to be displayed?
what does these commands return from a root terminal ? (note apache user isthe http deamon user ( usualy www-data )
this does not show an error ?
Should you wait for a couple of samplings for the new graph to be displayed?
what does these commands return from a root terminal ? (note apache user isthe http deamon user ( usualy www-data )
Code: Select all
sudo -u 'yr apacje user' /usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 index
sudo -u 'yr apacje user' /usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php x.x.x.x public 1 161 500 query iwrtcmac
Re: Another Wireless Signal Data Query for Mikrotik (SNMP)
Hi, i have this error:basos wrote:A brand new data query for wireless signal monitoring on mikrotik boards based on SNMP. Written on cacti 0.8.6j
It is tested with ifs @ client mode
Yet to be tested for other modes, especially for AP mode.
It does not support multiple clients for aps.
Information on installing as well as relevant files are included into the zip
Anyone with a commend on this is welcome.
PHP Fatal error: Call to undefined function read_config_option() in /usr/share/cacti/scripts/ss_query_mikrotik_wireless_sig_snmp.php on line 77
Help? Thanks...
Re: Version
Hi, my version is cacti 0.8.7b. There version is in repository, older is not. Cacti is installed and configured. SQL tables is installed.basos wrote:Are you on a newer/older version ?Written on cacti 0.8.6j
Unfortunately i don't maintain this anymore as i think there are better replacements.
Nevertheless if it is requested enough it will be fixed.
Greetz
Sorry for my english... Thanks for reply
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
The ss_* script thing remembers me of the fact, that the cacti_snmp_* function were changed a while ago. The parameter list was extended to support SNMP V3. I suppose that the given script does not care for that.
And, to be honest, I do not know why a script is required. It "should" be pure SNMP data that's required. Please see 1st link of my sig to learn about creating own SNMP probes
Reinhard
And, to be honest, I do not know why a script is required. It "should" be pure SNMP data that's required. Please see 1st link of my sig to learn about creating own SNMP probes
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest