All public logs

Jump to navigation Jump to search

Combined display of all available logs of I Will Fear No Evil. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 11:51, 14 July 2023 Chubbard talk contribs protected I Will Fear No Evil:Terms of Service [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) (hist)
  • 10:34, 14 July 2023 Chubbard talk contribs created page Nms reminders (Created page with "=== Notes on behaviors to remember === The app is getting complex now. Write down notes on the expected behavior so we do not get surprised. == Service checks and Events == * Service checks are NOT run on hosts that are != "alive" * Logging shows "bypassed" == Daemon Notes == * genericPoller currently runs all external service checks. * need database alteration to filter down to a poller host to support remote pollers as well == RRD Templates == * Need more examples...")
  • 11:28, 5 July 2023 Chubbard talk contribs moved page Javascript to Javascript Examples
  • 11:27, 5 July 2023 Chubbard talk contribs created page Category:Javascript (Created page with "Anything specifically dealing with the PITA known as JavaScript.")
  • 11:24, 5 July 2023 Chubbard talk contribs created page Javascript (Created page with "===I HATE JavaScript=== Did I mention I hate it? Well that does not matter. It is used all over, and I am going to have to learn to deal with it.. Here are some examples and notes that can be integrated and not cause troubles in most applications == JS clock on page == Found example at [https://stackoverflow.com/questions/40959133/display-clock-inside-the-html-page-or-div display-clock-inside-the-html-page-or-div] <pre> <script> function startTime() { var today =...")
  • 19:13, 4 July 2023 Chubbard talk contribs created page Lldp (Created page with "=== LLDP commands and reminders === Since I keep forgetting the damn commands, it is lldpctl as root. For PHYSICAL hosts this returns neighbors that also use lldp Category:lldp")
  • 09:49, 30 June 2023 Chubbard talk contribs created page Nms current design (Created page with "=== Design Information ==== All systems are being designed on UNDER POWERED machines. Frontend + Backend + Daemons running on a 2 core, 2 Gig RAM, 100GB Drive KVM Guest == Backend == The backend is PHP 7.X using the Slim4 framework. Composer is used for additional functionality, however most of the installed packages are not actually being used. These are going to have to be removed and get down to the core packages needed before posting the code publicly. == Frontend...")
  • 09:26, 30 June 2023 Chubbard talk contribs created page Nms Goals and Plan (Created page with "=== Where am I going? === The overall plan for the NMS is to open source it completely on github.com. Once I have something that does not embarrass me too much and is functional enough to work on the majority of machines I want others to be able to use this as well. My hope is that I can generate enough interest for others to assist me in getting the system polished and usable for any small or medium sized company to be able to use. there is the REMOTE possibility of...")
  • 11:10, 27 June 2023 Chubbard talk contribs created page Category:Calibre (Created page with "Anything dealing with Calibre or general info on epubs..")
  • 09:08, 27 June 2023 Chubbard talk contribs created page Disk notes (Created page with "=== Useful commands I keep forgetting === Show the formatted partition type <pre> df -T Filesystem Type 1K-blocks Used Available Use% Mounted on udev devtmpfs 969148 0 969148 0% /dev tmpfs tmpfs 203072 1160 201912 1% /run /dev/mapper/larvel01--vg-root ext4 101490460 10951196 85357620 12% / tmpfs tmpfs 1015352 0 101535...")
  • 12:01, 26 June 2023 Chubbard talk contribs created page Category:Pi (Created page with "Anything to remember on Raspberry Pi devices")
  • 12:01, 26 June 2023 Chubbard talk contribs created page Pi notes (Created page with "=== Different Gotchas on Pi === NFS seems to be quite the problem. This is the fix that works on my Pi II <pre> reinstall nfs-kernel-server update-rc.d -f rpcbind remove update-rc.d rpcbind defaults update-rc.d -f nfs-common remove update-rc.d nfs-common defaults update-rc.d -f nfs-kernel-server remove update-rc.d nfs-kernel-server defaults </pre> Category:Pi")
  • 16:37, 25 June 2023 Chubbard talk contribs created page Calibre notes (Created page with "=== General Howto's === Split a collection or series into individual books: <pre> Download the epub split plugin Choose the book Select the Chapters for the single book Choose Split Epub In a perfect world this will get the title and author correct, but if not edit after completion. Download new covers after completion </pre> Category:Calibre")
  • 09:20, 17 June 2023 Chubbard talk contribs created page Category:Auto (Created page with "Since this is my wiki I will put what the hell I want to in here. Cars, trucks, whatever..")
  • 09:18, 17 June 2023 Chubbard talk contribs created page Volkswagon Oil Reset (Created page with "=== Stolen from ChatGPT === To reset the "Change Oil" notification on a 2005 Volkswagen Jetta TDI, you can follow these steps: Insert the key into the ignition and turn it to the "ON" position without starting the engine. Ensure that all doors are closed. Locate the trip odometer button on the instrument cluster. It is usually a small button located near the speedometer or tachometer. Press and hold the trip odometer button. While holding the button, turn...")
  • 15:08, 15 June 2023 Chubbard talk contribs created page Drive use shell (Created page with "=== Generic Linux Commands === Find out what directories are taking up space quickly. <pre> cd ~ sudo du -x -d1 -h . </pre> Category:Linux")
  • 10:49, 8 June 2023 Chubbard talk contribs created page Nms testEvent (Created page with "=== Event Replay === Notes on the replay of an event that was generated. Better support in UI to follow mapping paths. Right now replay is specific to snmptrap. This is going to be the most common use case, however right now the TFE is doing direct DB inserts. This needs to be API calls only so we have ONE path for mapping validation, etc. ==== flow ==== snmptrap >> snmptrap receiver >> PHP controller >> mapping search by raw OID >> translate >> PreTransform >> inse...")
  • 09:43, 8 June 2023 Chubbard talk contribs created page Nms support (Created page with "=== External "things" to support === # docker # kubernetes # aws # gcp # printer (ipp?) # impi # Windows Event # syslog eventing # SNMP oids adhoc # synthetic monitoring Category:NMS")
  • 08:02, 7 June 2023 Chubbard talk contribs created page Nms-discovery (Created page with "=== NMS Discovery process logic === # Calling discovery against a Device will cause the deviceProperties to be set ## Will discover SNMP values and set correctly in the deviceProperties # Test common OID's if SNMP is set for interface, load, sysInfo, drives # add into the deviceGroup on successful walk. ## Will always walk 64bit THEN 32bit versions for discovery Category:NMS")
  • 14:55, 6 June 2023 Chubbard talk contribs created page Nms-aws (Created page with "=== Notes on todo for AWS support === Category:NMS")
  • 08:20, 6 June 2023 Chubbard talk contribs created page 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...")
  • 07:58, 6 June 2023 Chubbard talk contribs created page 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:20, 6 June 2023 Chubbard talk contribs created page 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:15, 5 June 2023 Chubbard talk contribs created page 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:...")
  • 10:48, 29 May 2023 Chubbard talk contribs created page 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...")
  • 20:44, 28 May 2023 Chubbard talk contribs created page 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:39, 28 May 2023 Chubbard talk contribs created page Rrdtool gotchas (Created page with "=== Anything oddball about RRDtool === You have to escape out the : char in strings Category:Rrd")
  • 19:26, 28 May 2023 Chubbard talk contribs created page 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:23, 28 May 2023 Chubbard talk contribs created page 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:21, 28 May 2023 Chubbard talk contribs created page 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")
  • 19:18, 28 May 2023 Chubbard talk contribs moved page Rrdtool to Rrdtool info
  • 19:17, 28 May 2023 Chubbard talk contribs created page Category:Rrd (Created page with "All the rrdtool should link back to here")
  • 19:17, 28 May 2023 Chubbard talk contribs created page Rrdtool (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:37, 28 May 2023 Chubbard talk contribs created page Category:Camera (Created page with "Dealing with WebCams, v4l, or ONVIF for security cameras. All goes here")
  • 11:36, 28 May 2023 Chubbard talk contribs created page 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...")
  • 09:47, 27 May 2023 Chubbard talk contribs created page 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")
  • 09:44, 27 May 2023 Chubbard talk contribs created page 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")
  • 16:02, 19 May 2023 Chubbard talk contribs created page PHP pcntl fork (Created page with "===Info to remember for pcntl_fork in PHP=== When using the `pcntl_fork()` function in PHP, the mode in which the fork operation is performed can be either blocking or non-blocking. Here's the difference between the two: 1. Blocking Mode: In blocking mode, the parent process waits for the child process to complete before continuing its execution. When `pcntl_fork()` is called in blocking mode, the parent process will pause until the child process finishes its execut...")
  • 19:30, 17 May 2023 Chubbard talk contribs deleted page Category:RedHat (changed to RHEL category)
  • 19:27, 17 May 2023 Chubbard talk contribs created page Category:Linux (Created page with "Generic Linux stuff that is not OS specific.")
  • 19:27, 17 May 2023 Chubbard talk contribs created page Category:Misc (Created page with "If it does not fall into other categories then we can add random crap here.")
  • 19:24, 17 May 2023 Chubbard talk contribs created page Category:RHEL (Created page with "Red Hat, Rocky, Centos etc all go here.")
  • 19:23, 17 May 2023 Chubbard talk contribs created page Category:Links (Created page with "Just links and URLs that are worth remembering")
  • 19:19, 17 May 2023 Chubbard talk contribs created page Category:Vi (Created page with "Vi and Vim notes go in here.")
  • 19:19, 17 May 2023 Chubbard talk contribs created page Category:Openssl (Created page with "All the notes specific to OpenSSL or LibreSSL get grouped here.")
  • 15:42, 17 May 2023 Chubbard talk contribs created page Category:MySQL (Created page with "MySQL notes and examples")
  • 15:42, 17 May 2023 Chubbard talk contribs created page MySQL notes (Created page with "===Notes for working with MySQL=== Basic table join for update with where clause <pre> UPDATE tableA a JOIN tableB b ON a.a_id = b.a_id JOIN tableC c ON b.b_id = c.b_id SET b.val = a.val+c.val WHERE a.val > 10 AND c.val > 10; </pre> Category:MySQL")
  • 14:49, 17 May 2023 Chubbard talk contribs created page Category:PHP (Created page with "Any examples or gotchas and howto for PHP can live here.")
  • 14:48, 17 May 2023 Chubbard talk contribs created page PHP Notes and Examples (Created page with "===PHP Notes and Examples=== change Array to JSON <pre> $foo=json_encode($array,1); echo $foo . "\n"; </pre> Convert a VALID JSON string to array <pre> $foo=json_decode($json, True); print_r($foo); </pre> Example foreach loop (simple) <pre> foreach ($nestedArray1 as $Array1) { do something with new array $array1[??}; } </pre> Category:PHP")
  • 09:52, 8 May 2023 Chubbard talk contribs created page Category:Networking (Created page with "If it is networking related, it goes in here :)")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)