Commit Graph
97 Commits
Author SHA1 Message Date
netniV 308292e2d7 Update copyright notices for 2019 2019-01-25 08:05:00 +00:00
Nuno Silva 26b5f32524 fix: availability method "Ping or SNMP Uptime" always ignores SNMP ping (#2275)
"Ping or SNMP Uptime" was completely ignoring SNMP ping
and would only report the host as up when icmp/udp/tcp ping succeeded.
The SNMP ping can only be ignored when ping_result is already true.
2019-01-07 07:34:20 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
cigamit 190b8c4abd Audit of ping methods tcp, udp, and icmp. Better support for IPv6
The udp and tcp ping method should start working for PHP 5.5.4+, but
this has not been confirmed yet.
2017-08-26 09:56:29 -05:00
cigamit 6daa5e7a2e Resolving Issue #898
Issue with tcp and udp ping due to file description allocation changes
2017-08-10 10:33:22 -05:00
cigamit 3575b386f2 Remove trailing white-space from lib/ping.php 2017-08-05 10:52:33 -05:00
cigamit 8e1539758b Resolving Issue #699 2017-05-17 22:17:43 -05:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit 3cb1958f82 Improved is_ipaddress functions 2017-03-04 13:29:39 -06:00
cigamit 23afc0c3fe SNMP Availability failed to report down devices
This only was occuring for cmd.php collector.
2017-02-18 13:48:44 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 373caf667e Have snmp return false instead of '' or 'U'
This allows the up/down detection to work properly when using cmd.php.
2016-12-29 10:25:09 -06:00
cigamit 5fd9b2fd63 removed deprecated check for php version 2016-09-13 22:03:11 -05:00
cigamit babd7725b6 resolving net_ping constructor issue in bug#2753 2016-08-30 08:52:07 -05:00
cigamit bdcdde06ac resolving bug:2719
one issue remains, but it is related to setup.
2016-08-22 07:40:38 -05:00
cigamit a92ff11ec6 update ping on Linux to work with ipv6 2016-08-18 15:16:53 -05:00
cigamit a9f9b67fb0 completing implementation of snmp session support 2016-08-17 21:46:10 -05:00
cigamit ab4f73c807 resolving bug#2351 2016-08-15 11:58:13 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
Sjon Hortensius 6b59311307 Use microtime(true) instead of manual explode. Also fixes a few uses of deprecated split-method 2016-01-26 09:55:19 +01:00
Jimmy Conner 5bde3da972 1) Update Copyright Years Correct a few minor CY Issues
2) Allow Locking/UnLocking of Graphs
3) ToolTips
4) Correct Minor Issues with Login/Out/Permission associated with Theme JS
5) Upgrade jQuery which has Fixes for Major issue in Safari 7/8.1

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7662 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 01:52:50 +00:00
Jimmy Conner 4d353f3ac1 1) More removal of colons
2) Add Filter Icon to Filters
3) It's not a Host, it's a Device

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7645 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-01 01:23:29 +00:00
Jimmy Conner e4eebf5837 1) Re-introduce collapsible menus
2) Move RRDTool Default Font to Visual (most people using 1.3+)
3) Fix Placeholers, set on a few fields
4) Have Host Pinged as Callback when Editing Host
5) Fix User Menu Visibility Glitch
6) Fix issue where FTP Options would not appear under Settings Export
7) SNMP Options before Availability Options when editing host

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7643 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-31 20:18:37 +00:00
Jimmy Conner 6a2312ec94 - When editing a tree, use overflow to keep GUI manageable.
- Enhance lib/ping.php error checking
- Clean out some more dos2unix issue
- Add some comments to lib/rrd.php
- Add some additional checks in cdef.php
- Major simplification of Graph Settings page.  Add more Dynamic views 
to keep it simple.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7583 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-20 02:20:47 +00:00
Jimmy Conner ac6d6929cc Remove some unnecessary ending PHP closing tags
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7571 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-17 03:02:03 +00:00
Jimmy Conner f06002e092 -bug#0002438: Down Host Detection issue when using SNMP Desc or SNMP getNext
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7456 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-06-28 06:31:40 +00:00
Tony Roman 65be30ffe0 Update copyright to 2014
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7437 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-03-30 19:54:50 +00:00
Tony Roman ce40281901 Update copyright to 2013 for 0.8.8
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7386 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-21 23:00:42 +00:00
Tony Roman a257958a0b Update copyright to 2012
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7016 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 07:04:37 +00:00
Larry Adams 285a6f4d5b -feature: Increase granularity of availability options to correct spine bug in 0.8.7h
-feature: Replace 'event count' with 'in state' date for host availability
Note: Merging to main shortly.
Note: Will do cross check on PIA an merge ugroup changes to PIA shortly.  Then one final check of Mantis and done.


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6899 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-11-12 13:59:31 +00:00
Larry Adams e366276313 -bug#0002040: ICMP ping errors for Win7 & PHP 5.3
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6873 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-10-25 01:08:59 +00:00
Tony Roman 9acba795fe Update copyright to 2011
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6233 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-27 03:44:05 +00:00
Reinhard Scheck c7e2a63baa -bug: accept "Connection refused" on TCP ping tests
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6098 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-08-19 19:35:29 +00:00
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