Jump to content

About This Club

Tools that are used in the IT world
  1. What's new in this club
  2. Nagios is a great tool, especially for free. Find your config find / -name nagios.cfg Test nagios against that config (below is where my nagios.cfg was located but change to where yours is) nagios -v /etc/nagios/nagios.cfg When your system is checking processes on a system and shows RSZDT and you are wondering what that means. R = running, S = interruptible sleep (waiting to complete), Z = defunct ("zombie") process, D = uninterruptible sleep, T = stopped. Perhaps this is on the cluster (total) -- how many servers is it checking, unles
  3. Here you will find some examples of how to utilize splunk in different ways. Example of how to find all hostnames and source files that are reporting data for a sourcetype index=* sourcetype="f5:bigip:syslog" hostname="*" | stats count by hostname host source This example will show you hostname - source and what are the stats per device so you can identify if all your devices are reporting to splunk as you thought. Also what devices are reporting a lot of data (maybe debug is turned on). Another pretty quick query that I prefer is this one | tstats count as totalCount ea
  4. Just about any appliance you receive from the Enterprise world it comes with tcpdump, especially if the host operating system is linux based. Here are some commands that I run that have proven helpful and they may prove to help you as well. My main use is on our F5 appliances or our linux application servers. Below you will find different uses of tcpdump NO DNS RESOLUTION To disable name resolution, use the -n flag as in the following examples: tcpdump -n tcpdump -ni 0.0 CAPTURE TO FILE To save the tcpdump output to a binary file, type the following command:
  5. Ran into a ton of issues using Cacti (mainly no one really supports the templates, plugins, etc for F5) so I'm trying a different flavor of monitoring solution called Zabbix which is another open source monitoring solution that has a few articles referencing F5 and a lot of the articles I'm finding are more recent (2017 and newer) where Cacti was pre 2017. So let's start with some instructions Install the Zabbix Repository Download the RPM wget https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm --no-check-certificate Install the RPM r
  6. If you are using an older version of Cacti then version 1 you can use Weathermap.. currently not available for anything 1.x or newer. Something helpful is to add Weather map by going to this website and clicking downloads and downloading the latest php-weathermap.zip file but if you are being blocked due to this being on github then here is the latest as of Jan 2020 php-weathermap-0.98a.zip upload the zip file to /var/tmp/ type the following commands unzip /var/tmp/php-weathermap-0.98a.zip cd /usr/src mv weathermap /usr/share/cacti/plugins/ cd /usr/share/cacti/plugins/
  7. Seems like this should be easy, especially since there is a yum install for cacti but oh no, nothing is what it seems. If you follow the below instructions (well as of January 2020) then you have a good chance at being successful. Please note, this is best case and no guarantee it will work but it worked for me. This also will help me keep track of some helpful commands I used for the future. DISABLE FIREWALL Open and edit SELinux configuration file. vim /etc/sysconfig/selinux Change SELINUX=enforcing to SELINUX=disabled. Save and exit. Reboot system reboot ENABLE R
  8. This is what I have working at the moment. All the remote devices just point to ubuntu box that is running syslog-ng $ cat /etc/syslog-ng/syslog-ng.conf @version: 3.5 @include "scl.conf" @include "`scl-root`/system/tty10.conf" # Syslog-ng configuration file, compatible with default Debian syslogd # installation. # First, set some global options. options { flush_lines(0); use_dns(persist_only); use_fqdn(yes); owner(root); group(adm); perm(0640); stats_freq(0); bad_hostname("^gconfd$"); normalize_hostnames(yes); keep_hostname(yes); create_dirs(yes); }; ############
  9. >hpiLO-> help status=0 status_tag=COMMAND COMPLETED Mon Aug 18 18:39:01 2014 DMTF SMASH CLP Commands: help : Used to get context sensitive help. show : Used to display values of a property or contents of a collection target. show -a : Recursively show all targets within the current target. show -l : Recursively show targets within the current target based on 'level' specified. Valid values for 'level' is from 1 to 9. create : Used to create new instances in the name space of the MAP. Example: create /map1/accounts1 username= password= name= group=
  10. what a cool command you can run on your cisco IOS switches Switch#sho int capabilities mod 5 GigabitEthernet5/1 Model: WS-X4548-GB-RJ45V-RJ-45 Type: 10/100/1000-TX Speed: 10,100,1000,auto Duplex: half,full,auto Auto-MDIX: no Trunk encap. type: 802.1Q,ISL Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100), sw Flowcontrol: rx-(off,on,desired),tx-(off,on,desired) VLAN Membership: static, dynam
  11. Send job to background Syntax bg Options: If PID is specified, the jobs with the specified group ids are put in the background. Send the specified jobs to the background. A background job is executed simultaneously with fish, and does not have access to the keyboard. If no job is specified, the last job to be used is put in the background. The PID of the desired process is usually found by using process expansion. Example Put the job with job id 0 in the background: bg %0[/code] "I'm not kidding myself, my voice is ordinary. If I stand still while I'm sing
  12. An arbitrary precision calculator language Syntax bc options file... Options: -h, --help Print the usage and exit. file A file containing the calculations/functions to perform. May be piped from standard input -i, --interactive Force interactive mode. -l, --mathlib Define the standard math library. -w, --warn Give warnings for extensions to POSIX bc. -s, --standard Process exactly the POSIX bc language. -q, --quiet Do not print the normal GNU bc welcome. -v, --version Print
  13. Find and Replace text, database sort/validate/index Syntax awk 'Program' Input-File1 Input-File2 ... awk -f PROGRAM-FILE Input-File1 Input-File2 ... Key -F FS --field-separator FS Use FS for the input field separator (the value of the `FS' predefined variable). -f PROGRAM-FILE --file PROGRAM-FILE Read the `awk' program source from the file PROGRAM-FILE, instead of from the first command line argument. -mf NNN -mr NNN The `f' flag sets the maximum number of fields, and the `r' flag sets the maximum record size. These
  14. Create an alias, aliases allow a string to be substituted for a word when it is used as the first word of a simple command. Syntax alias [name ...] unalias If arguments are supplied, an alias is defined for each name whose value is given. If no value is given, `alias' will print the current value of the alias. Without arguments or with the `-p' option, alias prints the list of aliases on the standard output in a form that allows them to be reused as input. `unalias' will remove each name from the list of aliases. If `-a' is supplied, all aliases are rem


  • Upcoming Events

    No upcoming events found
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
  • Create New...