Commit Graph

1119 Commits

Author SHA1 Message Date
Neil Lathwood
0be049fde9 Added the ability to call the api for a list of endpoints 2014-10-09 16:20:04 +00:00
Neil Lathwood
b6db82d8af Added a response code when things are ok - oops 2014-10-09 16:14:06 +00:00
Neil Lathwood
cd8b2299df Updated authToken response code to be 401 2014-10-07 23:53:26 +00:00
Paul Gear
5887009b63 Merge pull request #300 from laf/issue-laf-44
Added a route to the API that will get vlans for a given device
2014-10-07 19:56:01 +10:00
Paul Gear
d665a101ac Merge pull request #297 from laf/issue-laf-42
Fixed the placement of overlib popup images
2014-10-07 19:32:41 +10:00
Paul Gear
b4cc92475d Merge pull request #295 from laf/issue-laf-37
Adding ping and poller graphs for devices
2014-10-07 19:31:21 +10:00
laf
7f95922160 Updated adduser to check for existing user and use password hashing 2014-10-06 18:39:48 +01:00
laf
2be63b2041 Added an option to rediscover a device from the web page 2014-10-02 20:17:45 +01:00
laf
c55c1a71ba missed out the response code and header 2014-10-01 21:12:21 +01:00
laf
a87dd794e4 Updated vlans returned, was a double array by accident 2014-10-01 21:00:07 +01:00
laf
d2f727cfcb Added a total vlan response in api 2014-10-01 20:53:15 +01:00
laf
b8a2b7c291 Added /vlans/:hostname route to the API 2014-10-01 20:49:34 +01:00
laf
9ba4b464ea Added urldecode/encode support 2014-09-30 21:30:22 +01:00
laf
5519f97d35 Fixed the placement of overlib popup images 2014-09-30 21:24:47 +01:00
laf
9a178363a0 Added ping response graphs and some small updates 2014-09-30 19:13:50 +01:00
laf
6a1ebd9db4 Updated graph from area to line 2014-09-30 19:13:50 +01:00
laf
6c28f6367e Poller run time graphing 2014-09-30 19:13:50 +01:00
laf
40ffbe03e8 Fixed the device image in the devices list (now shows image) 2014-09-30 02:27:52 +01:00
Paul Gear
11f475b405 Syntaxy fix 2014-09-28 09:56:33 +10:00
Paul Gear
508e0b816d Fix Scrutinizer errors 2014-09-28 09:30:36 +10:00
Paul Gear
8a3117f0dc Rewrite ugly if-else one-liners as ternary operator 2014-09-28 09:30:18 +10:00
Paul Gear
d6245fd6ba Correctly set error code for missing SNMP version 2014-09-27 18:34:23 +10:00
Paul Gear
82613f17ee keep scrutinizer from complaining about snmpver not being set for all execution paths 2014-09-27 18:27:45 +10:00
Paul Gear
e48c1a6730 Use more accurate HTTP status code for device add 2014-09-27 16:34:43 +10:00
Paul Gear
9d4a9dfa30 Re-implement get_device using existing primitives 2014-09-27 16:34:36 +10:00
Paul Gear
48d3a43669 Tidy device deletion 2014-09-27 16:32:55 +10:00
Paul Gear
76f5ab87a9 Add function to get information about a single device 2014-09-27 15:25:43 +10:00
Paul Gear
a58c857ed2 Provide more useful diagnostics when adding a device via the API 2014-09-27 15:23:32 +10:00
Paul Gear
0a351ecf58 Supply more specific error code when API token is missing or invalid 2014-09-27 14:48:08 +10:00
laf
8790bfee0a Added api call to delete device 2014-09-17 21:03:02 +01:00
laf
e81ce9ff60 Removed one of the router variables as it was not needed 2014-09-17 18:45:44 +01:00
laf
a0b52743d0 Updated api routes to new format + moved includes file to correct location 2014-09-16 22:19:29 +01:00
laf
070f4d60bd Added documentation and a function to tidy up json output 2014-09-16 22:19:28 +01:00
laf
edec1c0c7d Initial API release 2014-09-16 22:19:28 +01:00
laf
b563b8425d Updated null to false for secure cookie 2014-08-20 16:42:09 +01:00
laf
183c69e304 Removed session regeneration 2014-08-20 16:24:27 +01:00
laf
7d2ee3bc56 Added support for Cisco ASA Connection graphs 2014-07-03 15:27:52 +01:00
bohdan-s
4818e7d687 Fix Copyright Notice(s) 2014-06-25 03:19:12 -04:00
bohdan-s
9fb82b844d Cleaned up code and changed to jquery, re: laf suggestions 2014-06-21 22:02:16 -04:00
bohdan-s
c9ea8fb69a Move status and logon pages to same page,
remove kernel version from status page
2014-06-21 20:24:44 -04:00
laf
d1fc8968f9 Moved global search and system menus to the left 2014-06-16 23:08:56 +01:00
laf
41d52b1be1 Update print_optionbar_* to use well instead of panels 2014-06-15 14:04:19 +01:00
laf
b55ed32aa8 Fixed the site to be more mobile friendly - at least the home page and navbar 2014-06-15 01:38:55 +01:00
Paul Gear
608966e2ab Remove accidental appearance of object cache 2014-06-14 14:58:17 +10:00
Paul Gear
968a6ee9c4 Add vertical option for summary 2014-06-14 09:31:22 +10:00
Paul Gear
2b047f62b6 Start at fixing up front page and moving top 10 into plugins 2014-06-14 07:55:17 +10:00
laf
c2a91a9080 Updated the global search visually and extended hyperlinks 2014-06-11 00:15:27 +01:00
laf
41c3baaa6a Restore _GET login ability 2014-05-01 14:08:13 +01:00
Paul Gear
b4703626db Merge pull request #187 from laf/issue-167
Updated edit user screen so you can now update details
2014-03-30 08:23:29 +10:00
laf
dc9c4308e8 Update ldap.inc.php 2014-03-29 11:38:04 +00:00
Paul Gear
d1c082d507 Merge pull request #189 from laf/issue-154
First full commit of plugin system
2014-03-29 09:30:57 +10:00
Paul Gear
94c789b74a Merge pull request #205 from laf/issue-laf-29
Updated global search both design wise and added bgp support
2014-03-29 09:18:09 +10:00
timdufrane
e2ddf3daf0 Fix top port overlay issues
Should not look like crap on small screens anymore
2014-03-28 13:22:22 -04:00
laf
336a24753d Updated global search both design wise and added bgp support 2014-03-18 22:36:22 +00:00
laf
dff43f78f2 Update ldap.inc.php 2014-03-14 00:46:44 +00:00
Paul Gear
a012b59790 Fix Scrutinizer report
- array(device=...legend={$legend}") of type array<integer,string,..."string"}> is not a sub-type of string.
- $sep of type string is not a sub-type of array.
2014-03-14 10:02:41 +10:00
Paul Gear
98fbee1f08 Fix issues Scrutinizer says that I introduced 2014-03-14 09:04:14 +10:00
laf
4151269de4 Moved plugins menu and enabled Test plugin by default 2014-03-12 22:03:47 +00:00
laf
8cf255072c Updated edit user screen so you can now update details 2014-03-10 23:50:16 +00:00
laf
c7e421e1fd First full commit of plugin system 2014-03-03 20:23:29 +00:00
Paul Gear
99eb663363 Merge pull request #149 from laf/issue-148
Visually tidied up the devices pages
2014-03-03 10:27:43 +10:00
laf
9c6d73dae3 Visually tidied up the devices pages 2014-03-02 20:10:15 +00:00
laf
ac3e92267c Fixed overview link 2014-03-02 14:18:44 +00:00
Paul Gear
99b3456fbc Merge pull request #132 from laf/issue-124
Tidied up eventlog on various pages to use bootstrap
2014-03-02 13:42:47 +10:00
Paul Gear
54f5ea0e30 Merge pull request #117 from laf/issue-116
Updated device/port/services box for bootstrap
2014-03-02 13:33:55 +10:00
Paul Gear
d83ab9e278 Merge pull request #115 from laf/issue-114
Updated print_optionbar_* to use bootstrap
2014-03-02 13:32:28 +10:00
Paul Gear
f43f469c2e Merge pull request #109 from laf/issue-108
Added Overview link to Overview dropdown
2014-03-02 13:17:15 +10:00
laf
5a995022dc Tidied up eventlog on various pages to use bootstrap 2014-02-28 22:02:39 +00:00
laf
eb53d05574 Updated device/port/services box for bootstrap 2014-02-27 20:22:11 +00:00
laf
d2bcf0913b Updated print_optionbar_* to use bootstrap 2014-02-27 19:49:24 +00:00
laf
54c3b7bc14 Refreshed visually the Device overview page 2014-02-26 22:33:45 +00:00
laf
37ea540f6a Added Overview link to Overview dropdown 2014-02-26 03:27:52 +00:00
Paul Gear
997dc3dad3 Merge pull request #101 from laf/issue-69
Updated mysql auth to use PHPass
2014-02-26 11:55:07 +10:00
laf
1fffec8e2d Update PasswordHash.php
Updated line 54 to $output.
2014-02-25 23:45:12 +00:00
laf
519e4aba84 Update PasswordHash.php 2014-02-23 22:05:22 +00:00
laf
18f9b89639 Removed code that was previously commented out 2014-02-23 17:55:07 +00:00
Paul Gear
74077a7fa0 Merge pull request #100 from laf/issue-94
Top X boxes can now be switched off
2014-02-23 22:40:32 +10:00
Paul Gear
affc283f25 Merge pull request #62 from laf/issue-61
Stop print-syslog.inc.php from shortening hostnames
2014-02-23 22:14:00 +10:00
laf
3fbd56b190 Top X boxes can now be switched off 2014-02-23 12:10:37 +00:00
Paul Gear
48fe1d10ca More complete fix for laf:issue-87
- Align all columns
 - Move all of the common parts of each query to the front so differences can be seen easily
 - Fix mixup of deleted vs. ignored
 - Ensure deleted & ignored are checked correctly in each query
2014-02-23 13:53:56 +10:00
Paul Gear
593b5ddb69 Merge branch 'issue-87' of github.com:laf/librenms into laf-issue-87 2014-02-23 12:04:25 +10:00
laf
e535ec2e47 Resolved critical bugs from scrutinizer 2014-02-22 15:47:57 +00:00
laf
b5f9008d38 Fixed SQL queries for the top status box on homepage 2014-02-14 07:53:35 +00:00
laf
d9194a12b8 Changed top X boxes to fade rather than scroll 2014-02-05 22:33:33 +00:00
laf
005504ae6d Updated session / cookie support 2014-02-03 22:39:37 +00:00
laf
04a9f4a2f3 Updated mysql auth to use PHPass 2014-02-03 12:10:06 +00:00
Tyler Christiansen
e80f8f33a6 Merge pull request #59 from laf/new-design-clean
Move UI to Bootstrap v3, courtesy of @laf.
2014-01-27 09:12:45 -08:00
laf
2b647013af Fixed title_image from the config.php 2014-01-14 19:40:59 +00:00
laf
2a3fb39b60 Removing tcpdf and also license from conflict list 2014-01-14 18:55:11 +00:00
laf
648f5bb500 Stop print-syslog.inc.php from shortening hostnames 2014-01-14 15:32:48 +00:00
laf
4c3ae78263 Locations in the dropdown menu now scrollable 2014-01-14 14:37:43 +00:00
laf
fc7404a3c4 Updates bringing forms / tables inline with Bootstrap v3, also adds Global search box 2014-01-13 10:08:59 +00:00
laf
b10ae234ac Moved the header call to after setcookie, also added an exit statement. 2014-01-09 10:41:40 +00:00
laf
29a35feea4 Updated hostbox-basic.inc.php as number of <td>'s were incorrect
Added 3 <td>'s to resolve table formatting and ensure view looks consistent with details page.
2013-12-05 22:22:22 +00:00
Paul Gear
ab23cbe144 Tidy top 10 displays 2013-11-26 15:32:53 +10:00
Paul Gear
a5b152cd98 Next front page improvement
- load all files in include directory
- half-baked attempt to make HTML output more readable
- add top hosts by total bits box
- horrible hack to generate_device_link() to make it possible to insert the device_bits graph
2013-11-26 14:35:23 +10:00
Paul Gear
663c3649a9 Remove commented code used for reference while creating the top ports screen 2013-11-26 12:33:09 +10:00
Paul Gear
3dac8fde8c Remove redundant code 2013-11-26 12:16:46 +10:00
Paul Gear
fbceedf3b7 Clean up sizing of top 10 graph 2013-11-26 11:21:21 +10:00
Paul Gear
7e6e66f362 Make top 10 box actually useful:
- Fix overlib popup when host metadata contains quotes
- Only show ports with traffic
- Add host & port links, and port graph
2013-11-26 11:03:00 +10:00
Paul Gear
b1ab8a7d32 Rename function to indicate purpose better 2013-11-26 07:51:39 +10:00
Paul Gear
a0979e85cd Tidy up formatting; proof-of-concept right side box 2013-11-19 08:57:43 +10:00
Paul Gear
6e9623c96d Continue moving styles to CSS
- Also started standardised infrastructure for minigraphs to make it easy to create them anywhere
2013-11-10 14:08:02 +10:00
Paul Gear
7dec0cfc21 Compact mouseover box header; remove embedded styles 2013-11-10 10:37:13 +10:00
Paul Gear
eafebe17a6 Add prominent report bug link 2013-11-10 05:01:32 +10:00
Paul Gear
a9454bd8f8 Aarrgh - need better workflow than this; attempt #7 2013-11-05 09:48:50 +10:00
Paul Gear
981fddde16 Menubar fix attempt #5 2013-11-05 09:47:34 +10:00
Paul Gear
5aa90bd0f3 Menubar fix attempt #5 2013-11-05 09:45:56 +10:00
Paul Gear
0effa7f784 Menubar fix attempt #4 2013-11-05 09:45:16 +10:00
Paul Gear
e249786eab Menubar fix attempt #3 2013-11-05 09:44:35 +10:00
Paul Gear
6e22dff742 Menubar fix attempt #2 2013-11-05 09:43:30 +10:00
Paul Gear
73e19cfcc1 Menubar fix attempt #1 2013-11-05 09:42:04 +10:00
Paul Gear
aa9dded019 Remove user-facing references to Observium
This eliminates nearly all of the user-facing references to Observium,
including in the names of temporary files and in the metadata of PDFs.  Many
of these may not be used any more, but I've adjusted them anyway.  These
changes should also make it easier to change the branding later if it is
needed.  There are a few references of which I still don't understand the
significance, so I've left them as-is for now.  The Unix agent in particular
is rather untidy.
2013-11-05 09:33:32 +10:00
Paul Gear
e9005d6ba8 Add link to project name 2013-10-29 08:40:20 +10:00
Paul Gear
e4dd93baed Use project name in the absence of a logo 2013-10-29 08:38:20 +10:00
Paul Gear
4ac6e31d40 First layout fix attempt 2013-10-29 08:22:08 +10:00
Paul Gear
7603d2074b Remove Observium images 2013-10-29 08:08:23 +10:00
Paul Gear
0e84681728 Remove PayPal links 2013-10-29 07:58:03 +10:00
Tyler Christiansen
b2eb12d0fe Update front-end copyright, team, link information 2013-10-28 11:53:07 -07:00
Tyler Christiansen
8e7a33e65f update copyright 2013-10-28 11:32:21 -07:00
Adam Amstrong
8c83b6a3c7 update foundry mibs
git-svn-id: http://www.observium.org/svn/observer/trunk@3250 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-29 13:08:01 +00:00
Adam Amstrong
74f3d0c78a snmp errors begone
git-svn-id: http://www.observium.org/svn/observer/trunk@3246 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-28 16:58:24 +00:00
Adam Amstrong
45a07ecabf generic_duplex previous add transparent area
git-svn-id: http://www.observium.org/svn/observer/trunk@3241 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 13:49:59 +00:00
Adam Amstrong
b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong
ba28732c3b ports sort done in php
git-svn-id: http://www.observium.org/svn/observer/trunk@3238 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 10:34:01 +00:00
Adam Amstrong
f4f2f8dc3d fix cisco remote access sessions graph
git-svn-id: http://www.observium.org/svn/observer/trunk@3237 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-24 21:37:08 +00:00
Tom Laermans
cc7f01ee26 more rrdtool_escape goodness
git-svn-id: http://www.observium.org/svn/observer/trunk@3230 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-23 10:37:23 +00:00
Tom Laermans
75113e0218 introducing rrdtool_escape, more to come
git-svn-id: http://www.observium.org/svn/observer/trunk@3229 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-23 10:18:14 +00:00
Adam Amstrong
8951e15477 no need to define for graphs inside device/
git-svn-id: http://www.observium.org/svn/observer/trunk@3226 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-22 14:21:02 +00:00
Adam Amstrong
580ee8370e fixes to aruba accesspoint graphing
git-svn-id: http://www.observium.org/svn/observer/trunk@3225 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-22 14:20:08 +00:00
Adam Amstrong
d3796004ae accesspoint support (probably) from ethan sommer (#50)
git-svn-id: http://www.observium.org/svn/observer/trunk@3223 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-21 18:17:23 +00:00
Adam Amstrong
fcef689504 fix dell omsa temperatures. from robje.
git-svn-id: http://www.observium.org/svn/observer/trunk@3222 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-21 16:52:02 +00:00
Tom Laermans
86348b92bb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3218 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-20 23:14:08 +00:00
Tom Laermans
24ed379a3b don't show graph if type is unset in definitions, eg os areca
git-svn-id: http://www.observium.org/svn/observer/trunk@3215 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-20 19:57:11 +00:00
Adam Amstrong
2880cf8f23 some database updates (adding some _deleted fields) and fix links table.
git-svn-id: http://www.observium.org/svn/observer/trunk@3199 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-17 10:33:56 +00:00
Adam Amstrong
8d5cfd0e46 alerting stuff (non-functional)
git-svn-id: http://www.observium.org/svn/observer/trunk@3197 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 16:24:43 +00:00
Adam Amstrong
4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans
4985943822 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3185 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-15 15:18:57 +00:00
Tom Laermans
4e8581c70f don't overwrite graph time period to 1y always
git-svn-id: http://www.observium.org/svn/observer/trunk@3179 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-14 09:40:13 +00:00
Tom Laermans
6c1b0e0d09 remove very efficient coding
git-svn-id: http://www.observium.org/svn/observer/trunk@3174 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-13 16:54:47 +00:00
Adam Amstrong
cd10fd2a61 add some global graphs. for great cpu-eating justice!
git-svn-id: http://www.observium.org/svn/observer/trunk@3170 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 16:27:55 +00:00
Adam Amstrong
f768558e7e fix auth for graphs to allow cidr filter. fix schema 006
git-svn-id: http://www.observium.org/svn/observer/trunk@3169 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 15:21:42 +00:00
Adam Amstrong
d52042ba47 cleanups to how graphing works. start using device= for device graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@3167 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 13:26:14 +00:00
Adam Amstrong
62c302b960 now remove the correct line
git-svn-id: http://www.observium.org/svn/observer/trunk@3166 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-10 15:23:11 +00:00
Adam Amstrong
26ffacfa60 fix bgp prefix graphs (stupid me, i removed the wrong line)
git-svn-id: http://www.observium.org/svn/observer/trunk@3165 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-10 15:22:51 +00:00
Adam Amstrong
6a0bfe288c graph improvements. FIXME - graph defs are getting messier. NEED SIMPLIFICATION.
git-svn-id: http://www.observium.org/svn/observer/trunk@3160 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 17:18:52 +00:00
Adam Amstrong
9240bd0211 nicer UCD memory graph
git-svn-id: http://www.observium.org/svn/observer/trunk@3159 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 16:58:00 +00:00
Adam Amstrong
831c1a2282 DERP
git-svn-id: http://www.observium.org/svn/observer/trunk@3158 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 16:38:42 +00:00
Adam Amstrong
790480769b snmpv3 support. for hipsters.
git-svn-id: http://www.observium.org/svn/observer/trunk@3156 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 16:18:23 +00:00