User contributions for Chubbard
Jump to navigation
Jump to search
6 June 2023
- 08:2008:20, 6 June 2023 diff hist +903 N Nms-database Created page with "=== Database Information === Currently running against database sitting on backup01. This is the old MySQL 5.7. Need to update to MariaDB for both performance as well as possible new datatype support. Work todo: * migrate to recent database release * investigate support of Postgres Reminders: * Nothing database version specific * avoid foreign key constraints. This is not common and ineffecient, however going this route will make the system more forgiving when ran..."
- 08:1108:11, 6 June 2023 diff hist +58 m Nms-api →NMS API notes current
- 07:5807:58, 6 June 2023 diff hist +825 N Nms-api Created page with "=== NMS API notes === Current API is based on Slim4 with PHP7.4. Overall I am satisfied with this but PHP8.X is going to have to be tested. There are some nice methods defined there that can make life easier going forward. However so far sticking with PHP7 is not a problem. Work todo: * documentation * try to standardize the logic and not deviate from it * keep GET to a minimum to hide details of what is being done. No need for unnecessary info bleeding * at least th..."
- 07:2007:20, 6 June 2023 diff hist +850 N Nms-authentication Created page with "=== Notes on Authentication Design === So far no attempt at building an auth system has been implemented 06-06-23. Slim4 has the concept of middleware which appears to be where they want auth to live. As this is on the API side, this should work pretty well. The API and redis will decide who gets to see or do stuff, do not allow overrides on the UI side. Plans: * Redis cache of authed users * guid for apis and automation * guids salted for transfer * planned auth typ..."
- 07:0607:06, 6 June 2023 diff hist +128 m Nms todo →rrdGraph current
5 June 2023
- 09:0209:02, 5 June 2023 diff hist −1 m Nms todo →Graphing metric ingestion
- 08:5908:59, 5 June 2023 diff hist +268 m Nms todo No edit summary
- 08:5308:53, 5 June 2023 diff hist −53 m Nms todo No edit summary
- 08:5208:52, 5 June 2023 diff hist +442 m Nms todo No edit summary
- 08:4308:43, 5 June 2023 diff hist +168 m Nms todo No edit summary
- 08:4108:41, 5 June 2023 diff hist +141 m Nms todo No edit summary
- 08:3608:36, 5 June 2023 diff hist +130 m Nms todo No edit summary
- 08:2108:21, 5 June 2023 diff hist +180 m Nms todo No edit summary
- 08:1608:16, 5 June 2023 diff hist +154 m Nms todo No edit summary
- 07:4807:48, 5 June 2023 diff hist +240 m Nms todo No edit summary
- 07:4507:45, 5 June 2023 diff hist +420 m Nms todo No edit summary
- 07:3607:36, 5 June 2023 diff hist +99 m Nms todo No edit summary
- 07:1507:15, 5 June 2023 diff hist +480 N Nms todo Created page with "Just notes on what I need to work on for the NMS.. filesystem search with a regex on a per host basis rrd graph creation an link Later we can work on dealing with agragation? This would likely end up being a Graphite option. logging is stable graph data ingestion is working and APPEARS stable 06-04 * rrd * graphite * databaseMetric * database * file * debugger <pre> Notes on testing API Ubuntu 20.X PHP 7.4 testing on 8.X todo Slim4 </pre> Category:..."
2 June 2023
- 16:0716:07, 2 June 2023 diff hist +149 m Rrdtool info No edit summary
29 May 2023
- 11:1011:10, 29 May 2023 diff hist +43 m Rrdtool create No edit summary current
- 10:5010:50, 29 May 2023 diff hist +185 m Rrdtool create No edit summary
- 10:4810:48, 29 May 2023 diff hist +2,820 N Rrdtool create Created page with "=== Rrdtool create commands and details === * http://rrdtool.vandenbogaerdt.nl/tutorial/rrdcreate.php * https://apfelboymchen.net/gnu/rrd/create/ DST when to use (Data Storage Type) * GAUGE The input is a rate, e.g. m/s, or should be treated as a rate, e.g. temperature * COUNTER The input is an ever increasing number, e.g. an octet counter in a router. RRDtool should compute the difference between the last update and the current one, and divi..."
28 May 2023
- 21:1621:16, 28 May 2023 diff hist +73 m PHP Notes and Examples No edit summary
- 21:1621:16, 28 May 2023 diff hist +273 m PHP Notes and Examples No edit summary
- 20:4520:45, 28 May 2023 diff hist +82 m Rrdtool PHP notes No edit summary current
- 20:4520:45, 28 May 2023 diff hist +117 m Rrdtool PHP notes No edit summary
- 20:4420:44, 28 May 2023 diff hist +319 N Rrdtool PHP notes Created page with "=== Specific Notes for working on NMS project === DEFAULT_FORMAT = '%5.2lf%s' DEFAULT_LEGEND = '${graphPoint/id}' DEFAULT_MULTIGRAPH_LEGEND = '${here/name | here/id} ${graphPoint/id}' Thresholds against values are using array_reverse($color) for the index value of the normal key of the DS Category:Rrd"
- 20:3920:39, 28 May 2023 diff hist +2 m Rrdtool gotchas No edit summary current
- 20:3920:39, 28 May 2023 diff hist +107 N Rrdtool gotchas Created page with "=== Anything oddball about RRDtool === You have to escape out the : char in strings Category:Rrd"
- 20:0320:03, 28 May 2023 diff hist +1,144 m Rrdtool graph No edit summary current
- 19:5819:58, 28 May 2023 diff hist +104 m Rrdtool info No edit summary
- 19:5719:57, 28 May 2023 diff hist +116 m Rrdtool info →Landing point for RRD commands and examples
- 19:4519:45, 28 May 2023 diff hist +94 m Rrdtool graph No edit summary
- 19:4419:44, 28 May 2023 diff hist +138 m Rrdtool graph →RRDtool Graph examples
- 19:2719:27, 28 May 2023 diff hist +97 m Rrdtool colors No edit summary current
- 19:2619:26, 28 May 2023 diff hist +1,808 N Rrdtool colors Created page with "=== Known nice color set === Stolen from Zenoss when it was still a real OS NMS.. They had good taste back then. Use this array of colors: <pre> colors = ( '#00cc00', '#0000ff', '#00ffff', '#ff0000', '#ff9900', '#cc0000', '#0000cc', '#0080c0', '#8080c0', '#ff0080', '#800080', '#0000a0', '#408080', '#808000', '#000000', '#00ff00', '#fb31fb', '#0080ff', '#ff8000', '#800000', ) </pre> These are the default properties..."
- 19:2319:23, 28 May 2023 diff hist +1,296 N Rrdtool graph Created page with "==== RRDtool Graph examples ==== This seems to be the biggest PITA to deal with. There are simply too many options and they are VERY sensitive to n00bs. This works (but looks like crap since I am learning) <pre> rrdtool graph ${DEST} --width 500 --height 100 --title "temp and humidity (2 hour resolution)" \ --font AXIS:8: \ --font LEGEND:8: \ --font UNIT:8: \ --x-grid MINUTE:30:HOUR:2:HOUR:2:0:"%I%p" \ DEF:ds0=/opt/nmsApi/rrd/database.rrd:temperature:AVERAG..."
- 19:2119:21, 28 May 2023 diff hist +342 N Rrdtool update Created page with "=== Simple examples of updating an existing RRD database === Definition of vars: N means now for rrd, numbers are the values for EACH of the datasources inside the RRD. This can cause problems if you change the DS count with something that does not exist <pre> rdtool update '/opt/nmsApi/rrd/database.rrd' N:31:65 </pre> Category:Rrd" current
- 19:1819:18, 28 May 2023 diff hist +26 N Rrdtool Chubbard moved page Rrdtool to Rrdtool info current Tag: New redirect
- 19:1819:18, 28 May 2023 diff hist 0 m Rrdtool info Chubbard moved page Rrdtool to Rrdtool info
- 19:1719:17, 28 May 2023 diff hist +40 N Category:Rrd Created page with "All the rrdtool should link back to here" current
- 19:1719:17, 28 May 2023 diff hist +1,860 N Rrdtool info Created page with "=== Landing point for RRD commands and examples === print the base info from an RRD database * Looks like a cheap way to get last values from the database possibly to store for status dashboard without the graph generation * This should be easily parsed in both bash and PHP for <b>ds[NAME].last_ds</b> <pre> rrdtool info /opt/nmsApi/rrd/database.rrd filename = "/opt/nmsApi/rrd/database.rrd" rrd_version = "0003" step = 1 last_update = 1685326405 header_size = 1472 ds[tempe..."
- 14:3714:37, 28 May 2023 diff hist +72 N Category:Camera Created page with "Dealing with WebCams, v4l, or ONVIF for security cameras. All goes here" current
- 14:3614:36, 28 May 2023 diff hist +287 m Onvif No edit summary
- 11:3911:39, 28 May 2023 diff hist +5,369 m Onvif No edit summary
- 11:3611:36, 28 May 2023 diff hist +6,435 N Onvif Created page with "=== Things to remember when with ONVIF === Generic notes and reminders since onvif compatible systems are usually not documented well and have different syntax. Also some manufacturers LIE, the bastards! First NMAP the subnet looking for the camera <pre> sudo nmap 192.168.15.218 Starting Nmap 7.80 ( https://nmap.org ) at 2023-05-28 11:22 PDT Nmap scan report for 192.168.15.218 Host is up (0.013s latency). Not shown: 997 closed ports PORT STATE SERVICE 554/tcp open..."
27 May 2023
- 09:4709:47, 27 May 2023 diff hist +382 N AI Sources Created page with "=== List of AI Links === AI generators that seem at lest marginally useful for generating example code and are generally free. Not adding paid AI generators as I am a cheap bastard and dont really care about giving more money out since I am looking for example code or how-to, and not end product code. * https://chat.openai.com/ * https://bard.google.com/ Category:Links" current
- 09:4409:44, 27 May 2023 diff hist +255 N Bash and grep Created page with "=== Common grep switches === Show line number of match <pre> grep -n <string> <file(s)> </pre> Insensitive match <pre> grep -i <string> <file(s)> </pre> Before and after # lines from match <pre> grep -A# -B# <string> <file(s)> </pre> Category:Bash"
19 May 2023
- 17:2517:25, 19 May 2023 diff hist +551 m MySQL notes No edit summary
- 17:1817:18, 19 May 2023 diff hist 0 m MySQL notes →Notes for working with MySQL