SNMP error and PING issue
Moderators: Developers, Moderators
SNMP error and PING issue
Upgraded from 0.8.6h to 0.8.7e and and now seeing the following 2 issues:
1. Cacti log file on 1 windows host and 1 Netscreen host: SNMP Time was not numeric
2. All hosts display: Ping Results Cannot connect to host
but ping statistics are being listed and a manual ping to each hosts works.
I applied the SNMP.php and Global Array.php patches and checked permissions. Any thoughts?
OS: W2K3
IIS6
1. Cacti log file on 1 windows host and 1 Netscreen host: SNMP Time was not numeric
2. All hosts display: Ping Results Cannot connect to host
but ping statistics are being listed and a manual ping to each hosts works.
I applied the SNMP.php and Global Array.php patches and checked permissions. Any thoughts?
OS: W2K3
IIS6
Brian
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Re: SNMP error and PING issue
Spine or cmd.php?
About to manually snmpwalk both of those devices for lets say Interfaces? Searched the cacti forums for that error message?bmarofsky wrote:1. Cacti log file on 1 windows host and 1 Netscreen host: SNMP Time was not numeric
What ping method and timeout are you using?bmarofsky wrote:2. All hosts display: Ping Results Cannot connect to host but ping statistics are being listed and a manual ping to each hosts works.
| 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 |
Re: SNMP error and PING issue
CMD.phpBSOD2600 wrote:Spine or cmd.php?
bmarofsky wrote:1. Cacti log file on 1 windows host and 1 Netscreen host: SNMP Time was not numeric
Yes, but i did not find one with a resolution specific to windows. The windows box that gets the error is a DC and my other DC is reporting fine.BSOD2600 wrote:About to manually snmpwalk both of those devices for lets say Interfaces? Searched the cacti forums for that error message?
bmarofsky wrote:2. All hosts display: Ping Results Cannot connect to host but ping statistics are being listed and a manual ping to each hosts works.
Using ICMP PING with 1500ms timeout. Tried UDP Ping and 1500ms timeout and get no error.BSOD2600 wrote:What ping method and timeout are you using?
All was fine in previous version.
Brian
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Re: SNMP error and PING issue
What PHP version?
Are any devices pingable from within Cacti?
snmpwalk .1.3.6.1.2.1.2.2.1. If it doesn't work, then you have the snmp agent misconfigured, ACLs blocking snmp traffic, etc.bmarofsky wrote:Yes, but i did not find one with a resolution specific to windows. The windows box that gets the error is a DC and my other DC is reporting fine.
Verified the NTFS permissions on those patched files you replaced are correct?bmarofsky wrote:Using ICMP PING with 1500ms timeout. Tried UDP Ping and 1500ms timeout and get no error.
Are any devices pingable from within Cacti?
| 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 |
PHP 5.2.4
snmpwalk:
D:\net-snmp\bin>snmpwalk -v 1 -c COMMUNITY HOST.local .1.3.6.1.2.1.2.2.1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.65539 = INTEGER: 65539
IF-MIB::ifDescr.1 = STRING: MS TCP Loopback interface
IF-MIB::ifDescr.65539 = STRING: Intel(R) PRO/1000 XT Network Connection
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.65539 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1520
IF-MIB::ifMtu.65539 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.65539 = Gauge32: 1000000000
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.65539 = STRING: 0:6:5b:8c:e9:6a
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.65539 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.65539 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.65539 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 885212452
IF-MIB::ifInOctets.65539 = Counter32: 3177263257
IF-MIB::ifInUcastPkts.1 = Counter32: 3184285
IF-MIB::ifInUcastPkts.65539 = Counter32: 8855341
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInNUcastPkts.65539 = Counter32: 971302
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.65539 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.65539 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.65539 = Counter32: 2619
IF-MIB::ifOutOctets.1 = Counter32: 885212452
IF-MIB::ifOutOctets.65539 = Counter32: 4141149391
IF-MIB::ifOutUcastPkts.1 = Counter32: 3184285
IF-MIB::ifOutUcastPkts.65539 = Counter32: 8095396
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.65539 = Counter32: 23642
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.65539 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.65539 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.65539 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.65539 = OID: SNMPv2-SMI::zeroDotZero
Permissions on functions.php and global_arrays.php are read/write for IIS_WPG and IUSER.
All devices report ICMP Ping cannot connect but are showing ping statistics on the devices page.
edited to update SNMPWALK and ping info
snmpwalk:
D:\net-snmp\bin>snmpwalk -v 1 -c COMMUNITY HOST.local .1.3.6.1.2.1.2.2.1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.65539 = INTEGER: 65539
IF-MIB::ifDescr.1 = STRING: MS TCP Loopback interface
IF-MIB::ifDescr.65539 = STRING: Intel(R) PRO/1000 XT Network Connection
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.65539 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1520
IF-MIB::ifMtu.65539 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.65539 = Gauge32: 1000000000
IF-MIB::ifPhysAddress.1 = STRING:
IF-MIB::ifPhysAddress.65539 = STRING: 0:6:5b:8c:e9:6a
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.65539 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.65539 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.65539 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 885212452
IF-MIB::ifInOctets.65539 = Counter32: 3177263257
IF-MIB::ifInUcastPkts.1 = Counter32: 3184285
IF-MIB::ifInUcastPkts.65539 = Counter32: 8855341
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInNUcastPkts.65539 = Counter32: 971302
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.65539 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.65539 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.65539 = Counter32: 2619
IF-MIB::ifOutOctets.1 = Counter32: 885212452
IF-MIB::ifOutOctets.65539 = Counter32: 4141149391
IF-MIB::ifOutUcastPkts.1 = Counter32: 3184285
IF-MIB::ifOutUcastPkts.65539 = Counter32: 8095396
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.65539 = Counter32: 23642
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.65539 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.65539 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.65539 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.65539 = OID: SNMPv2-SMI::zeroDotZero
Permissions on functions.php and global_arrays.php are read/write for IIS_WPG and IUSER.
All devices report ICMP Ping cannot connect but are showing ping statistics on the devices page.
edited to update SNMPWALK and ping info
Brian
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
The user accounts only should need read/execute rights on most of the Cacti files. Only the \log and \rrd folders need Modify permissions.
ICMP ping should work... I assume they are manually pingable via the commandline FROM the cacti server? Give udp a try instead in Cacti. Possibly displaying the ping stats from earlier when it was functioning.
ICMP ping should work... I assume they are manually pingable via the commandline FROM the cacti server? Give udp a try instead in Cacti. Possibly displaying the ping stats from earlier when it was functioning.
| 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 |
Yes the 2 devices are pingable from the cacti server commandline.BSOD2600 wrote:The user accounts only should need read/execute rights on most of the Cacti files. Only the \log and \rrd folders need Modify permissions.
ICMP ping should work... I assume they are manually pingable via the commandline FROM the cacti server? Give udp a try instead in Cacti. Possibly displaying the ping stats from earlier when it was functioning.
Anything on the SNMP time error?
Brian
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Google searching this forum for that returns several posts with a bunch of apparent solutions over the years...bmarofsky wrote:Anything on the SNMP time error?
1) blank snmp community?
2) sockets module loaded in php? run: php -m to see or a PHP_INFO page.
3) try increasing the snmp timeout a lot
4) tried the spine poller?
5) during your cacti upgrade, were there any errors reported with the mysql table upgrades, etc?
6) enable the error logging in php.ini and see if anything else is being thrown.
| 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 |
1. noBSOD2600 wrote:Google searching this forum for that returns several posts with a bunch of apparent solutions over the years...bmarofsky wrote:Anything on the SNMP time error?
1) blank snmp community?
2) sockets module loaded in php? run: php -m to see or a PHP_INFO page.
3) try increasing the snmp timeout a lot
4) tried the spine poller?
5) during your cacti upgrade, were there any errors reported with the mysql table upgrades, etc?
6) enable the error logging in php.ini and see if anything else is being thrown.
2. yes
3. timeout =1500
4. no difference with spine
5. no errors
6. Looking in to these now:
[21-Aug-2009 08:34:08] PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot\cacti\lib\snmp.php on line 486
[25-Aug-2009 11:33:01] PHP Fatal error: Maximum execution time of 59 seconds exceeded in C:\Inetpub\wwwroot\cacti\poller.php on line 353
Brian
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Switched all devices to UDP Ping
PHP log file was over 4GB. Created new one and it has remained empty.
Removed graphs from Linux box that never worked.
Cacit log file is all good (No SNMP time error).
Still not sure why ICMP ping is not working.
PHP log file was over 4GB. Created new one and it has remained empty.
Removed graphs from Linux box that never worked.
Cacit log file is all good (No SNMP time error).
Still not sure why ICMP ping is not working.
Brian
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
I never have used the ping setting in my cacti install, so I tried it. Guess what, same problem as you... broken.
| 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 |
More searching of this issue and seems people have been having it since at least 0.8.7d and possibly 0.8.7b... Anyways created a bug for it to be looked into: http://bugs.cacti.net/view.php?id=1528
| 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 for your help. I also noticed in the devices list that the current (ms) and average (ms) seem to be off by a factor of 10. Mine show 2.42 instead of 0.24.
Brian
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Later this evening, there will be a patch to lib/ping.php for Windows users wishing ICMP ping and using IIS. It appears that IIS prevents the IIS account from creating RAW sockets, which does not occur when using Apache.
The patch addresses both issues that you have. You might want to check it out directly by going to the "Browse SVN" and downloading the latest "branches/0.8.7/lib/ping.php" and giving it a whirl.
TheWitness
The patch addresses both issues that you have. You might want to check it out directly by going to the "Browse SVN" and downloading the latest "branches/0.8.7/lib/ping.php" and giving it a whirl.
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?
Appears to be working. Thanks!TheWitness wrote:Later this evening, there will be a patch to lib/ping.php for Windows users wishing ICMP ping and using IIS. It appears that IIS prevents the IIS account from creating RAW sockets, which does not occur when using Apache.
The patch addresses both issues that you have. You might want to check it out directly by going to the "Browse SVN" and downloading the latest "branches/0.8.7/lib/ping.php" and giving it a whirl.
TheWitness
When using UDP Ping i would get 0.82 ms but when using ICMP I get 0 ms. A manual Ping from command line results in <0ms. In DEVICES list I see: Current 3.05 ms and Average 4.9 ms.
EDIT: If I remove a device and re-add it the Current and Average look accurate.
Is this an issue you are aware of? Can I get the ICMP ping result to show more precisely and have the Current and Average be accurate?
Brian
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Linux 2.6.9-89.29.1.plus.c4
Web Server Apache/2.0.63 (CentOS)
PHP Version 5.1.6
MySQL Version 5.0.82sp1
RRDTool Version 1.2.23
SNMP Version 5.1.2
Plugins:
Global Plugin Settings (settings - v0.7)
Cycle Graphs (Cycle Graphs - v0.7+)
Thresholds (thold - v0.4.2)
Create Aggregate Graphs (aggregate - v0.75)
Device Monitoring (monitor - v1.2)
Network Tools (tools - v0.3)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
Error Images (errorimage - v0.1)
Cacti-ReportIt (reportit - v0.7.2)
WMI Query (wmi - v0.1)
Realtime Graph Viewer (realtime - v0.42)
Watermark (watermark - v0.1)
Who is online
Users browsing this forum: No registered users and 2 guests