Monitoring AP without SNMP function.
Moderators: Developers, Moderators
Monitoring AP without SNMP function.
I have AP without SNMP function and i want monitoring ping and packet loss. What shell i do? Thx very much.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Try http://forums.cacti.net/viewtopic.php?t=10049 to measure delay and loss between cacti polling host and you target device. This will not require any SNMP setup (pay attention to leave Community of the target device empty if it does not support snmp)
Reinhard
Reinhard
Thx, but i have a problem. I have any data in my graph. I test /www/php/bin/php /www/htdocs/cacti/scripts/ss_fping.php 192.168.50.12 20 ICMP and output is min:1.6600 avg:2.0920 max:3.8100 dev:0.5651 loss:0.0000, but data nowhere. Thx.lvm wrote:Try http://forums.cacti.net/viewtopic.php?t=10049 to measure delay and loss between cacti polling host and you target device. This will not require any SNMP setup (pay attention to leave Community of the target device empty if it does not support snmp)
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please test under php script server. To do so,pepulis wrote:... I test /www/php/bin/php /www/htdocs/cacti/scripts/ss_fping.php 192.168.50.12 20 ICMP and output is min:1.6600 avg:2.0920 max:3.8100 dev:0.5651 loss:0.0000, but data nowhere. Thx.
Code: Select all
cd /www/htdocs/cacti
php script_server.php
# at the command promt of the script server enter
/www/htdocs/cacti/scripts/ss_fping.php ss_fping 192.168.50.12 20 ICMP
cactid (old versions) is know to have problems with script_server on _some_ installations. If problems persist, please post them to the original thread of Advanced Ping to let the author know...
Reinhard
Here is output:lvm wrote:Please test under php script server. To do so,pepulis wrote:... I test /www/php/bin/php /www/htdocs/cacti/scripts/ss_fping.php 192.168.50.12 20 ICMP and output is min:1.6600 avg:2.0920 max:3.8100 dev:0.5651 loss:0.0000, but data nowhere. Thx.at tell me what this yields. Do not forget to enter ss_fping as the first parameter. This is how to test php scripts from the script server.Code: Select all
cd /www/htdocs/cacti php script_server.php # at the command promt of the script server enter /www/htdocs/cacti/scripts/ss_fping.php ss_fping 192.168.50.12 20 ICMP
cactid (old versions) is know to have problems with script_server on _some_ installations. If problems persist, please post them to the original thread of Advanced Ping to let the author know...
Reinhard
[root@localhost php-5.1.2]# cd /www/htdocs/cacti
[root@localhost cacti]# php script_server.php
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through sock et '/var/lib/mysql/mysql.sock' (2) in /www/htdocs/cacti/lib/adodb/drivers/adodb- mysql.inc.php on line 355
PHP Script Server has Started - Parent is cmd
/www/htdocs/cacti/scripts/ss_fping.php ss_fping 192.168.50.12 20 ICMP
min:1.8500 avg:2.2545 max:4.6900 dev:0.6728 loss:0.0000
I have PHP 5.1.2 and h version cacti. I have Fedora Core 2 system.
Yes i installed patches.lvm wrote:Make sure you have installed the latest patches for 0.8.6h
Have forwarded this to TheWitness.
Reinhard
[root@localhost cacti]# patch -p1 -N < fix_search_session_clear_issue.patch
patching file host.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file host.php.rej
[root@localhost cacti]# patch -p1 -N < fix_sql_syntax_related_to_default_rra_id.patch
patching file graph.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file graph.php.rej
[root@localhost cacti]# patch -p1 -N < nth_percentile_empty_return_set_issue.patch
patching file lib/graph_variables.php
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file lib/graph_variables.php.rej
[root@localhost cacti]# patch -p1 -N < mysql_5x_strict.patch
patching file cacti.sql
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file cacti.sql.rej
patching file lib/database.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/database.php.rej
patching file lib/template.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/template.php.rej
[root@localhost cacti]#
Who is online
Users browsing this forum: No registered users and 1 guest