Larry Adams
c5403f3844
QA: Update copyrights
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5806 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-28 03:48:09 +00:00
Reinhard Scheck
f2c9fe99ac
prevent command injection
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5778 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-20 20:52:32 +00:00
Larry Adams
d61e3b1dbb
-bug#0001528: ICMP Ping availability broken in UI for Windows Servers using IIS
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5206 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-09-01 20:22:22 +00:00
Larry Adams
c722f98b92
-refix:1191 - Somehow this change was reverted.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5111 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-06-25 01:14:22 +00:00
Larry Adams
8be7654403
-bug: Some snmp agents don't getnext on '.1' and need another oid '.1.3'
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4988 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-03-29 12:34:17 +00:00
Reinhard Scheck
45ccb69f7d
-bug#0001404: timeout in "function ping_icmp" (lib/ping.php)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4932 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-14 14:55:03 +00:00
Tony Roman
26d1957d62
Update copyright to 2009
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4931 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-11 22:53:50 +00:00
Larry Adams
334bfa7669
-bug#0001388: Spine uses illegal flag for ping on Mac OS X
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4923 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-09 00:16:39 +00:00
Larry Adams
a7a97db407
-feature: New availability option "Ping or SNMP"
...
-bug: Ping and SNMP should test both conditions
-bug#0001176: Problem validating IPv6 addresses
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4681 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-09-01 16:42:01 +00:00
Larry Adams
47f2cef89a
-bug#0001281: ICMP Ping fails if an octet == 255
...
-bug#0001288: A host with ICMP ping selected as method does not properly perform ping
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4653 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-08-17 21:08:01 +00:00
Reinhard Scheck
8774b26639
initialization issue for on UDP pings
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4613 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-06-21 21:59:12 +00:00
Reinhard Scheck
692c53ade4
-bug#0001191: Faulty IP address validation by ping.php script
...
-bug#0001204: since upgrade to 0.87b the hosts with ip address with 255 are down and have no datas
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4567 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-04-19 15:01:31 +00:00
Larry Adams
fccc917c9d
QA: Fixup ping.php to not call gethostbyname if the hostname is an ip adrress already
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4494 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-02-10 17:04:36 +00:00
Larry Adams
793c6fcbe4
-bug#0001133: Downed Device Detection: None leads to database errors
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4439 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-01-29 04:14:10 +00:00
Larry Adams
22f9e12ddb
Update Copyright Notice for 2008.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4434 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-01-29 00:40:43 +00:00
Larry Adams
64efe41d43
Add support for snmpV3 context's.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4152 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 01:17:39 +00:00
Larry Adams
c5863ce36e
Clean up polling to properly use the new availability methods.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4120 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-04 12:53:41 +00:00
Larry Adams
e47927ec03
-feature: Add SNMPv3 Support to Cacti
...
-feature: Add a Notes field to the Device that can contain arbitrary information
-feature: Add Availability Methods to Cacti including per Host Ping Methods and Timeouts
-feature: Add Max OID's to te Host Level
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4096 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-08-28 03:34:54 +00:00
Larry Adams
f9ba101099
Changes to ping script for per device polling.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4090 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-08-25 17:37:20 +00:00
Jimmy Conner
e4b8046c12
-bug#0000970: Incorrect debug messages in lib/ping.php for failed UDP ping
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4020 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-17 01:41:26 +00:00
Larry Adams
e4f6140f8a
Correct issues with graph_items and ds_xxx, also, implement a better workaround to snmp_ping.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3983 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-25 14:08:13 +00:00
Larry Adams
dd326e7d58
-bug#0000946: Timetick 0 returns down for device
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3982 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-24 23:45:50 +00:00
Larry Adams
186881cff7
-bug#0000963: TCP/UDP capitalization
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3959 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-07 22:35:14 +00:00
Larry Adams
421c4fc3c6
-bug#0000873: Poller not working correctly (more specifically, major issues with some versions of php in running the file_exists command).
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3940 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-04 02:40:18 +00:00
Larry Adams
9914fc0d4a
-bug#0000919: Problem with ping_tcp function in 8.6j and possible fix.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3938 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-04 01:53:33 +00:00
Tony Roman
e625781ec6
Typos suck and I'm glad I have a script to update copyrights
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3898 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:17:57 +00:00
Tony Roman
8ff975973a
Proper date range needed in copyright
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3896 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:11:14 +00:00
Tony Roman
e116f23ff7
Copyright update for php files
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3894 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 19:30:21 +00:00
Larry Adams
c9372ef11a
I messed up, wrong direction.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3869 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-01-21 00:49:24 +00:00
Larry Adams
edafe6c5a4
-bug#0000903: snmpgetnext function does not exist in PHP less than 5.0
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3867 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-01-20 23:12:28 +00:00
Larry Adams
b1f922eacc
-bug#0000886: SNMP Ping to Utilize The snmpgetnext instead of snmpget
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3848 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-01-01 19:00:56 +00:00
Larry Adams
42c32d6229
0000861: Downed Host Detection on non-SNMP devices wrong
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3847 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-01-01 18:45:54 +00:00
Larry Adams
0f31e2ce75
clean up a few abarant "\n" in the logging function calls.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3777 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-09-18 01:18:33 +00:00
Larry Adams
845f764aed
remove debugging code.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3723 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-08-20 05:43:06 +00:00
Larry Adams
04b49aa835
check for sockets before pinging
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3722 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-08-20 04:53:37 +00:00
Larry Adams
c2086bcd74
testing posix_getuid function
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3721 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-08-20 04:12:31 +00:00
Larry Adams
ffb159ce1f
Another ICMP ping attempt.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3718 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-08-20 02:32:39 +00:00
Larry Adams
5b8ef756e8
correct issue where sequence numbers were not being compared properly resulting in erroneous results in ss_fping.php
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3717 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-08-19 21:35:25 +00:00
Tony Roman
feb96856fe
BUG#0000732: ss_fping errors when run and graphs not updating - 'Undefined variable: config'
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3600 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-04-16 02:52:05 +00:00
Larry Adams
e081150e4e
testing seteuid() capabilities with posix_* calls.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3583 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-03-14 04:56:11 +00:00
Larry Adams
fd30ec88b0
Allow ping to set a random sequence number and correctly calculate the checksum. This allows for larger size packets in the future and correct some issues that certain OS' are having with non-unique sequence numbers.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3574 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-03-12 20:24:54 +00:00
Larry Adams
5fe88c1090
performance improvements for ss_fping.php
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3303 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-11-09 01:17:16 +00:00
Larry Adams
649d7bf1fb
-bug: Allow hostname to include TCP: or UDP: an keep tcp, icmp, udp ping functional
...
-feature: Add IPv6 support to lib/ping.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3291 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-11-06 15:48:05 +00:00
Larry Adams
82c08a3c8d
change the default behavior of ping.php to make a host up if either ping or snmp are found to be alive.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3237 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-17 02:05:17 +00:00
Larry Adams
2a4c5c89f4
incorporate a timeout to ss_fping.php
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3234 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-17 01:31:40 +00:00
Larry Adams
2bbb6120f7
changes for mysql 5.x support
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3215 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-09 21:20:19 +00:00
Larry Adams
4aa37ea46b
updates for advanced ping script
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3158 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-08-28 21:06:19 +00:00
Larry Adams
52063262f9
lib/ping.php could not be used for script_server scripts
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3092 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-07-23 14:51:22 +00:00
Larry Adams
702d55c165
-bug: changed snmp availability polling to sysUptime from sysDesc
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2642 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-03-08 04:12:40 +00:00
Larry Adams
4b8e50377a
improve snmp v2 support in UI
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2015 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-08-27 21:03:21 +00:00