Tony Murray
5c81602966
Set config_name as a unique index
...
Work around possible duplicates by keeping the first record.
2016-03-18 23:20:02 -05:00
Tony Murray
7d111fd8ba
Move me up the list
2016-03-17 23:52:14 -05:00
Tony Murray
a20c14b66b
Fix icon reset issue when os != icon.
2016-03-17 11:36:59 -05:00
Tony Murray
271e767077
Merge pull request #3250 from laf/issue-3236
...
Split out the icon check and update from os
2016-03-16 10:59:09 -05:00
Tony Murray
d3a4e03b2c
./daily.sh as librenms user
...
Add hint to encourage running ./daily.sh as the user librenms user.
We could also add this:
`runuser -l librenms -c ./daily.sh`
or this
`su - librenms -c ./daily.sh`
2016-03-14 15:10:24 -05:00
Tony Murray
81a626713a
Fix indentation.
2016-03-09 14:31:00 -06:00
Tony Murray
eb9281ff10
Fixes for Avtech
...
Trim quotes from description
Correct sensor type
Allow sensor id of 0
Correct indexes for sensors
2016-03-09 12:34:29 -06:00
Tony Murray
d59fc01b61
Another test case for the cisco syslog timestamp prefix.
2016-03-09 10:49:12 -06:00
Tony Murray
55002aced1
Check the sysObjectID before trying to detect ILO temp sensors.
2016-03-09 10:02:53 -06:00
Tony Murray
33c4cca8a4
Reduce memory cosumption for tests by running one assert at a time rather than building all the data then testing.
2016-03-09 09:07:00 -06:00
Tony Murray
bca965e2ae
Some devices have "logging timestamp" enabled, try to remove that from the start of the message.
...
Fixes #3199
2016-03-09 08:20:51 -06:00
Tony Murray
13260ce152
Move avtech_add_sensor function to includes/discovery/functions.php
...
allow type to be specified
else if -> elseif
2016-03-05 08:33:14 -06:00
Tony Murray
555fdb5bfc
Clean up avtech by making a helper function so it is easier to add devices.
...
Add support for RoomAlert 4E
fixes #3166
2016-03-04 17:28:54 -06:00
Tony Murray
e2d2c6aa38
Merge pull request #3154 from laf/syslog-test
...
Updated syslogTest to work with php 5.3
2016-03-03 15:55:46 -06:00
Tony Murray
985ea9bea6
Enable phpunit testing in Travis CI.
2016-03-03 11:56:29 -06:00
Tony Murray
2af1b517e5
Notifcation and tab->spaces fix.
2016-03-03 06:46:39 -06:00
Tony Murray
77f2e923ff
Merge pull request #3137 from marcodc/patch-4
...
Update Authors.md
2016-03-03 00:36:38 -06:00
Tony Murray
734d1bcd9d
PHPunit tests for Cisco syslog parsing.
2016-03-03 00:06:53 -06:00
Tony Murray
f52954f8a4
The old load included the leading %. Stick with that behavior.
2016-03-03 00:03:17 -06:00
Tony Murray
ea491c4a06
move the negation outside of the regular expression for more accurate results
2016-03-02 23:48:07 -06:00
Tony Murray
a57d212b55
Merge pull request #3074 from xbeaudouin/adx_stuff
...
ServerIron / ServerIron ADX support
2016-03-02 19:30:08 -06:00
Tony Murray
777a335699
Add validate.php to the install docs
2016-03-01 14:41:39 -06:00
Tony Murray
7c3af01638
Merge pull request #3120 from murrant/fix-3118
...
Fix os images with subdirectories in url
2016-02-29 11:36:10 -06:00
Tony Murray
ade3c81570
Need global $config to be able to access it.
2016-02-29 11:26:03 -06:00
Tony Murray
8400962130
Fix os images with subdirectories in url
...
Fix #3118
Obviously, the answer to the question in the code is yes
2016-02-29 11:20:03 -06:00
Tony Murray
71d88d6975
This should process all of the messages on these sites and if it fails, there should be no data loss
...
http://www.cisco.com/c/en/us/support/docs/switches/catalyst-6000-series-switches/29804-186.html
http://www.cisco.com/c/en/us/td/docs/ios/system/messages/guide/consol_smg/sm_cnovr.html
2016-02-27 16:00:06 -06:00
Tony Murray
d1f44ae1ec
Simplify Cisco ios,iosxe,catos log processing.
...
This should cover the examples I could find on the web, but we could be missing some corner cases.
If we fail, the entire message is in msg, instead of being lost.
2016-02-26 10:19:22 -06:00
Tony Murray
f8f895e5b1
Make sure port_assoc_mode is an int before inserting a device into the db.
...
fixes #3090
2016-02-26 08:05:07 -06:00
Tony Murray
9f22b18dc8
Split is removed in PHP7, replace with explode as none were using it as a regex.
...
Also fix two array keys without quotes in include/syslog.php
Fixes #2205
2016-02-25 14:34:06 -06:00
Tony Murray
484f39cd70
Populate device icon in the database
...
The icon field was originally set up as an override for the display option but the only way to set it currently is directly in the DB afaik.
Populate the icon field during discovery, this should move a little execution from page display time to discovery time.
v2
2016-02-23 23:44:51 -06:00
Tony Murray
c8ae2f6dd2
Merge branch 'master' into avtech
2016-02-23 09:51:34 -06:00
Tony Murray
7b2974f0c4
Memory precision is kb.
2016-02-22 23:59:16 -06:00
Tony Murray
ea3eedf3f0
Netonix Update
...
Add copyright header
Add support for CPU and memory
Fix version display for 1.3.9
Improve fan description
2016-02-22 23:12:12 -06:00
Tony Murray
0e9e9dd8b3
Add temp sensors for TemPageR 3E and 4E. Assume all sensors are temperature for now.
...
SNMP did not seem to supply descriptions on the 4E.
2016-02-17 16:27:36 -06:00
Tony Murray
d2a072cb86
Merge branch 'master' into avtech
2016-02-17 11:55:08 -06:00
Tony Murray
9ccf16dd24
Use raw timeticks instead of parsing the string for sysUpTime and hrSystemUptime
2016-02-16 23:46:31 -06:00
Tony Murray
0c2abe5b77
Properly parse sysDescr fro Unifi Switches
...
Fix issue #2759
I only tested the regex, not against hardware as I don't have access to any.
2016-02-16 22:51:42 -06:00
Tony Murray
916c568ce7
Add GeSHi GPv2+ acknowledgement.
2016-02-13 12:18:55 -06:00
Tony Murray
f824fd123e
Always define $config_total. Default is 1.
2016-02-12 14:44:32 -06:00
Tony Murray
564146dc8c
Fix inverted diff.
2016-02-12 14:40:04 -06:00
Tony Murray
31897758e5
Restore $config['oxidized']['features']['versioning'].
2016-02-12 14:27:55 -06:00
Tony Murray
cc344bf3c3
Use Oxidized's built in diffing capability. Drops the need for xdiff and one http call.
2016-02-12 14:21:55 -06:00
Tony Murray
28216f67b0
Merge branch 'master' into config_diff
2016-02-12 10:36:18 -06:00
Tony Murray
aa9d4798dc
Remove $config['oxidized']['features']['versioning']. I did not update the schema to remove the entry from the config table.
...
Update the documentation a bit.
Issue #2812
2016-02-12 10:23:49 -06:00
Tony Murray
3eddfd46bd
Import GeSHi diff type.
2016-02-10 19:31:31 -06:00
Tony Murray
9a2d22df0a
Remove array_column() use, it requires php 5.5
2016-02-10 19:24:13 -06:00
Tony Murray
0e8ea8b6b2
Mark displayed diffs.
2016-02-10 17:16:59 -06:00
Tony Murray
b5106f4e17
Generate and display diffs between versions. Clicking show diff generates a diff between the shown version and the selected version.
2016-02-10 14:51:40 -06:00
Tony Murray
8849cee3f4
Missed this while fixing sensor data with 0 values.
2016-02-09 15:42:46 -06:00
Tony Murray
e3ec42c06d
Deal with 0 value for sensor data better.
...
Issue #2883
2016-02-09 14:20:36 -06:00
Tony Murray
f45bceecba
The fanspeed is frequently 0 rpm.
2016-02-09 13:36:44 -06:00
Tony Murray
0422d8e589
Add fanspeed,temp, and voltage for Netonix switches.
2016-02-09 13:31:36 -06:00
Tony Murray
f6e6263c59
Initial AVTECH Software, Inc. support.
2016-02-09 12:00:58 -06:00
Tony Murray
1b59ae9648
Use $config['mibdir'] instead of $config['mib_dir']
2016-02-09 08:01:41 -06:00
Tony Murray
21c2bb312a
Do not hardcode mib path
2016-02-08 15:50:54 -06:00
Tony Murray
fc82587c3f
Merge branch 'master' into netonix
2016-02-08 15:24:47 -06:00
Tony Murray
17fe1d1f66
I could not find cpu info in Calix MIBs. Just load in hr.
2016-02-08 15:01:25 -06:00
Tony Murray
f177dd6608
Merge branch 'master' into calix
2016-02-08 14:20:14 -06:00
Tony Murray
1d796fecfe
Add a generic way to allow empty ifDescr on ports for an OS.
2016-02-08 13:58:03 -06:00
Tony Murray
799bb4dc5d
Pull card serial numbers. Unsure if this what we want.
...
Set ifName as the primary port name.
2016-02-08 10:29:55 -06:00
Tony Murray
6f31755dfb
Use poll_device;
...
List the inserted cards in "features".
2016-02-05 18:14:44 -06:00
Tony Murray
a34b958352
Add hardware and version for Netonix.
2016-02-05 17:57:17 -06:00
Tony Murray
8eda8e0bfc
Fix Oxidized node reloading.
2016-02-05 16:29:42 -06:00
Tony Murray
89f596fdbb
Fix oxidized versioning + groups
...
Consilidate config fetching rather than having two fetches with the first always failing when the device has a group.
2016-02-05 15:23:05 -06:00
Tony Murray
4aa9838eda
add discover, polling and mibs.
...
work around empty ifDesc
2016-02-05 14:26:06 -06:00
Tony Murray
3970753c86
Merge remote-tracking branch 'upstream/master' into calix
2016-02-05 14:24:04 -06:00
Tony Murray
e7c59dbd57
Initial Calix E7 Support
2016-02-03 16:01:31 -06:00
Tony Murray
aa43f41871
Change the poller-service docs from ln -s to cp to prevent us from breaking user's installs.
2016-02-03 08:17:19 -06:00
Tony Murray
44cd86d24e
Add systemd unit file for the python poller service.
...
Move poller-service init scripts into to scripts directory and update the documentation.
2016-02-02 20:23:08 -06:00
Tony Murray
b9448a61a8
Remove Success output from homepage when using AD Auth.
2016-01-25 13:10:51 -06:00
Tony Murray
94ab3141f8
Clarify Oxidized Groups Documentation
...
Break groups out into their own section.
Show how to specify credentials for groups in Oxidized.
Issue #2464
2016-01-15 10:32:48 -06:00
Tony Murray
6f84a287b6
Fix ARP search on all ARP pages. Adapt ARP search page to use a common search variable.
2015-12-24 12:10:05 -06:00
Tony Murray
fe86b998bf
Switch device and port ARP tables to ajax
...
Allow sorting, filtering and paging of device and port ARP tables.
2015-12-24 10:58:12 -06:00
Tony Murray
e8d5756467
Fix missing path info on nginx.
...
Update nginx documentation to set the PATH_INFO variable.
Avoid hacks in index.php if it PATH_INFO is already set for both nginx and apache.
2015-12-03 13:23:37 -06:00
Tony Murray
76b4cba8df
New MIBs for Netonix Switch.
...
Use the new enterprise ID 46242 for discovery.
Fixes #2187
2015-11-30 13:03:22 -06:00
Tony Murray
dcd0955ab5
Oxidized: used the actual group as collected from node_info instead of assuming group == $device['os']
...
Left $device['os'] as a fallback.
2015-11-24 23:27:38 -06:00
Tony Murray
02d54e9c50
Fix AD auth with untrusted certificates. LDAPTLS_REQCERT=never must be
...
set before ldap_connect.
2015-11-13 11:05:05 -06:00
Tony Murray
52c4621095
I agree to the conditions of the Contributor Agreement contained in
...
doc/General/Contributing.md
2015-11-13 11:04:23 -06:00