ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Emad R
    3. Posts
    • Profile
    • Following 3
    • Followers 3
    • Topics 171
    • Posts 1,332
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Bed Bugs

      @scottalanmiller said in Bed Bugs:

      Thankfully, even having lived in NYC and the third world, have never needed to deal with them.

      I knew mosquitos in the third world, but let me assure you the mosquitos in Canada are vampires, one of them can sting you like 20 times in 20 seconds and worst of all they are silent

      posted in Water Closet
      Emad RE
      Emad R
    • RE: What is the fascination of Solaris OS ?

      @scottalanmiller

      I see thanks, I see my 6-8 years of Linux is not allowing me to see beyond but many thanks for the quick insight.

      posted in IT Discussion
      Emad RE
      Emad R
    • What is the fascination of Solaris OS ?

      I know it is Oracle but it has GUI and you cant easily download it or use it.

      Just cause it is old and more Unixy? I am finding alot of banks and Canada jobs that uses it... Why cause it is Oracle supported, does it come free with 10million cost of Oracle DB, dont Oracle has Centos version for free .. I dont get it

      Why not RHEL then.

      What can Solaris 11 do that Linux cant ?

      posted in IT Discussion solaris
      Emad RE
      Emad R
    • RE: How Do You Configure the Zabbix Agent to be Active Only

      @scottalanmiller

      hmmm we had same scenario let me pull config. Notice we put 3 servers seperate by comma like route.

      oot@Apache3-website-drupal8:/etc/zabbix# cat zabbix_agentd.conf
      # This is a config file for the Zabbix agent daemon (Unix)
      # To get more information about Zabbix, visit http://www.zabbix.com
      
      ############ GENERAL PARAMETERS #################
      
      ### Option: PidFile
      #	Name of PID file.
      #
      # Mandatory: no
      # Default:
      # PidFile=/tmp/zabbix_agentd.pid
      
      PidFile=/var/run/zabbix/zabbix_agentd.pid
      
      ### Option: LogFile
      #	Name of log file.
      #	If not set, syslog is used.
      #
      # Mandatory: no
      # Default:
      # LogFile=
      
      LogFile=/var/log/zabbix-agent/zabbix_agentd.log
      
      ### Option: LogFileSize
      #	Maximum size of log file in MB.
      #	0 - disable automatic log rotation.
      #
      # Mandatory: no
      # Range: 0-1024
      # Default:
      # LogFileSize=1
      
      LogFileSize=0
      
      ### Option: DebugLevel
      #	Specifies debug level
      #	0 - basic information about starting and stopping of Zabbix processes
      #	1 - critical information
      #	2 - error information
      #	3 - warnings
      #	4 - for debugging (produces lots of information)
      #
      # Mandatory: no
      # Range: 0-4
      # Default:
      # DebugLevel=3
      
      ### Option: SourceIP
      #	Source IP address for outgoing connections.
      #
      # Mandatory: no
      # Default:
      # SourceIP=
      
      ### Option: EnableRemoteCommands
      #	Whether remote commands from Zabbix server are allowed.
      #	0 - not allowed
      #	1 - allowed
      #
      # Mandatory: no
      # Default:
      # EnableRemoteCommands=0
      
      ### Option: LogRemoteCommands
      #	Enable logging of executed shell commands as warnings.
      #	0 - disabled
      #	1 - enabled
      #
      # Mandatory: no
      # Default:
      # LogRemoteCommands=0
      
      ##### Passive checks related
      
      ### Option: Server
      #	List of comma delimited IP addresses (or hostnames) of Zabbix servers.
      #	Incoming connections will be accepted only from the hosts listed here.
      #	If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
      #
      # Mandatory: no
      # Default:
      # Server=
      
      Server=3232.134,323.232,BLABLA.BLABLA.BLABLA.jo,BLABLA.BLABLA.io
      
      ### Option: ListenPort
      #	Agent will listen on this port for connections from the server.
      #
      # Mandatory: no
      # Range: 1024-32767
      # Default:
      # ListenPort=10050
      
      ### Option: ListenIP
      #	List of comma delimited IP addresses that the agent should listen on.
      #	First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
      #
      # Mandatory: no
      # Default:
      # ListenIP=0.0.0.0
      
      ### Option: StartAgents
      #	Number of pre-forked instances of zabbix_agentd that process passive checks.
      #	If set to 0, disables passive checks and the agent will not listen on any TCP port.
      #
      # Mandatory: no
      # Range: 0-100
      # Default:
      # StartAgents=3
      
      ##### Active checks related
      
      ### Option: ServerActive
      #	List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
      #	If port is not specified, default port is used.
      #	IPv6 addresses must be enclosed in square brackets if port for that host is specified.
      #	If port is not specified, square brackets for IPv6 addresses are optional.
      #	If this parameter is not specified, active checks are disabled.
      #	Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
      #
      # Mandatory: no
      # Default:
      # ServerActive=
      
      #ServerActive=127.0.0.1
      
      ### Option: Hostname
      #	Unique, case sensitive hostname.
      #	Required for active checks and must match hostname as configured on the server.
      #	Value is acquired from HostnameItem if undefined.
      #
      # Mandatory: no
      # Default:
      # Hostname=
      
      Hostname=web3.BLABLA.BLABLA.BLABLA
      
      ### Option: HostnameItem
      #	Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
      #	Does not support UserParameters or aliases.
      #
      # Mandatory: no
      # Default:
      # HostnameItem=system.hostname
      
      ### Option: HostMetadata
      #	Optional parameter that defines host metadata.
      #	Host metadata is used at host auto-registration process.
      #	An agent will issue an error and not start if the value is over limit of 255 characters.
      #	If not defined, value will be acquired from HostMetadataItem.
      #
      # Mandatory: no
      # Range: 0-255 characters
      # Default:
      # HostMetadata=
      
      ### Option: HostMetadataItem
      #	Optional parameter that defines an item used for getting host metadata.
      #	Host metadata is used at host auto-registration process.
      #	During an auto-registration request an agent will log a warning message if
      #	the value returned by specified item is over limit of 255 characters.
      #	This option is only used when HostMetadata is not defined.
      #
      # Mandatory: no
      # Default:
      # HostMetadataItem=
      
      ### Option: RefreshActiveChecks
      #	How often list of active checks is refreshed, in seconds.
      #
      # Mandatory: no
      # Range: 60-3600
      # Default:
      # RefreshActiveChecks=120
      
      ### Option: BufferSend
      #	Do not keep data longer than N seconds in buffer.
      #
      # Mandatory: no
      # Range: 1-3600
      # Default:
      # BufferSend=5
      
      ### Option: BufferSize
      #	Maximum number of values in a memory buffer. The agent will send
      #	all collected data to Zabbix Server or Proxy if the buffer is full.
      #
      # Mandatory: no
      # Range: 2-65535
      # Default:
      # BufferSize=100
      
      ### Option: MaxLinesPerSecond
      #	Maximum number of new lines the agent will send per second to Zabbix Server
      #	or Proxy processing 'log' and 'logrt' active checks.
      #	The provided value will be overridden by the parameter 'maxlines',
      #	provided in 'log' or 'logrt' item keys.
      #
      # Mandatory: no
      # Range: 1-1000
      # Default:
      # MaxLinesPerSecond=100
      
      ############ ADVANCED PARAMETERS #################
      
      ### Option: Alias
      #	Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
      #	Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
      #	Different Alias keys may reference the same item key.
      #	For example, to retrieve the ID of user 'zabbix':
      #	Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1]
      #	Now shorthand key zabbix.userid may be used to retrieve data.
      #	Aliases can be used in HostMetadataItem but not in HostnameItem parameters.
      #
      # Mandatory: no
      # Range:
      # Default:
      
      ### Option: Timeout
      #	Spend no more than Timeout seconds on processing
      #
      # Mandatory: no
      # Range: 1-30
      # Default:
      # Timeout=3
      
      ### Option: AllowRoot
      #	Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent
      #	will try to switch to the user specified by the User configuration option instead.
      #	Has no effect if started under a regular user.
      #	0 - do not allow
      #	1 - allow
      #
      # Mandatory: no
      # Default:
      # AllowRoot=0
      
      ### Option: User
      #	Drop privileges to a specific, existing user on the system.
      #	Only has effect if run as 'root' and AllowRoot is disabled.
      #
      # Mandatory: no
      # Default:
      # User=zabbix
      
      ### Option: Include
      #	You may include individual files or all files in a directory in the configuration file.
      #	Installing Zabbix will create include directory in /etc/zabbix, unless modified during the compile time.
      #
      # Mandatory: no
      # Default:
      # Include=
      
      # Include=/etc/zabbix/zabbix_agentd.userparams.conf
      # Include=/etc/zabbix/zabbix_agentd.conf.d/
      Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf
      
      ####### USER-DEFINED MONITORED PARAMETERS #######
      
      ### Option: UnsafeUserParameters
      #	Allow all characters to be passed in arguments to user-defined parameters.
      #	0 - do not allow
      #	1 - allow
      #
      # Mandatory: no
      # Range: 0-1
      # Default:
      # UnsafeUserParameters=0
      
      ### Option: UserParameter
      #	User-defined parameter to monitor. There can be several user-defined parameters.
      #	Format: UserParameter=<key>,<shell command>
      #	See 'zabbix_agentd' directory for examples.
      #
      # Mandatory: no
      # Default:
      # UserParameter=
      
      ####### LOADABLE MODULES #######
      
      ### Option: LoadModulePath
      #	Full path to location of agent modules.
      #	Default depends on compilation options.
      #
      # Mandatory: no
      # Default:
      # LoadModulePath=${libdir}/modules
      
      ### Option: LoadModule
      #	Module to load at agent startup. Modules are used to extend functionality of the agent.
      #	Format: LoadModule=<module.so>
      #	The modules must be located in directory specified by LoadModulePath.
      #	It is allowed to include multiple LoadModule parameters.
      #
      # Mandatory: no
      # Default:
      # LoadModule=
      
      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Are Minimal installs really better?

      @IRJ

      Minimal but not to the point of reaching alpine linux minimal. If you consider what is driving containers and everything it is about being very small and launch in seconds.. and they told me crazy when I spend hours making Windows xp and 7 as lite as possible 10 years ago and trimming the fat just to run single app like a game, i was such visionary.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Why Microsoft Wants You to Think Windows 7 Can't Be Upgraded

      @scottalanmiller

      I love you man, but the answer can be summed up by one word = money

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Setup OKD (Origin Community Distribution) RedHat OpenShift FOSS distro on Centos 7

      Reserved for help and replies, remember to upvote.

      posted in IT Discussion
      Emad RE
      Emad R
    • Setup OKD (Origin Community Distribution) RedHat OpenShift FOSS distro on Centos 7

      Hi,

      Been time since I posted something... trying to find a job in Toronto, and not purchasing everything I see here.

      So this is an easy and insecure way to set it up in one server for testing and no need for FQDN. I highly recommend Vultr high freq VMs, at least the 24$ one with 4 GB RAM, the more the better.
      Start from latest Centos 7:

      yum update -y
      yum install -y epel-release
      yum install -y lsof glances net-tools htop nano yum-utils wget rsync git ncdu nload mc p7zip tuned iotop mdadm unzip iperf3 mlocate tree
      sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
      sed -i 's/installonly_limit=5/installonly_limit=2/g' /etc/yum.conf
      timedatectl set-timezone Asia/Amman
      shutdown -r now
      yum clean all && yum autoremove
      
      sudo yum install -y yum-utils device-mapper-persistent-data lvm2
      sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
      sudo yum install -y  docker-ce docker-ce-cli containerd.io docker-compose
      
      sudo usermod -aG docker $USER
      newgrp docker
      
      sudo mkdir /etc/docker /etc/containers
      
      nano /etc/containers/registries.conf
      ---
      [registries.insecure]
      registries = ['172.30.0.0/16']
      ---
      
      nano /etc/docker/daemon.json
      ---
      {
         "insecure-registries": [
           "172.30.0.0/16"
         ]
      }
      ---
      
      sudo systemctl daemon-reload
      sudo systemctl restart docker
      sudo systemctl enable docker
      
      echo "net.ipv4.ip_forward = 1" | sudo tee -a /etc/sysctl.conf
      sudo sysctl -p
      
      firewall-cmd --permanent --delete-zone dockerc
      firewall-cmd --permanent --new-zone dockerc
      DOCKER_BRIDGE=`docker network inspect -f "{{range .IPAM.Config }}{{ .Subnet }}{{end}}" bridge`
      firewall-cmd --permanent --zone dockerc --add-source $DOCKER_BRIDGE
      firewall-cmd --permanent --zone dockerc --add-port=1-65535/udp
      firewall-cmd --permanent --zone dockerc --add-port=1-65535/tcp
      firewall-cmd --permanent --zone=public --add-port=1-65535/udp
      firewall-cmd --permanent --zone=public --add-port=1-65535/tcp
      firewall-cmd --reload
      systemctl restart firewalld
      
      wget https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
      tar xvf openshift-origin-client-tools*.tar.gz
      cd openshift-origin-client*/
      sudo mv  oc kubectl  /usr/local/bin/
      oc version
      
      oc cluster up --public-hostname='SERVERPUBIP' --routing-suffix='SERVERPUBIP.xip.io'
      

      Thats it, be sure to replace

      • SERVERPUBIP with your Server Public IP

      • Asia/Amman and with your Timezone

      • Omit --- in nano commands, don't type those.

      posted in IT Discussion okd centos openshift kubernetes
      Emad RE
      Emad R
    • RE: Install OpenVas9 in Ubuntu Server

      @scottalanmiller

      if you ask me they are going commercial also version 10 is called something else with diff naming

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Install OpenVas9 in Ubuntu Server

      @dbeato

      the thing is openvas versions is all over the place, dont they have a new version 10 right now, a month ago it was on 8 .

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: MSP Helpdesk Options

      @scottalanmiller

      If you think about it, it just a web form.
      Google forms will do, and you can build your something very quick using directus. That said google forum have very interesting plugins and charts and PDF reports, even plugins for authorizations

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Windows 7 Cannot Update

      @scottalanmiller

      delete temp and try again

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: how do you deal with SPOF with HAproxy

      @travisdh1

      what about multiple A/AAAA records for multiple HAproxy ?

      posted in IT Discussion
      Emad RE
      Emad R
    • how do you deal with SPOF with HAproxy

      Hi,

      I wonder if this ever came across where you use HAproxy but wish to made it redundant and can sustain it going down. I know it rarely ever go down but what do you do if you want to make it redundant.

      posted in IT Discussion spoif haproxy ha
      Emad RE
      Emad R
    • RE: ProtonDB: Look Up Windows Game Testing on Linux from Valve's Proton

      @scottalanmiller

      amazing tech, and works near-identical but due to anti cheat engines being in nature closed and deep-rooted in windows kernel many games won't work if they utilize anti-cheat

      posted in Water Closet
      Emad RE
      Emad R
    • RE: Mangolassi mobile site is very jumpy

      @scottalanmiller said in Mangolassi mobile site is very jumpy:

      @Emad-R said in Mangolassi mobile site is very jumpy:

      @IRJ

      How easy it is to create a modern android app of an existing website? I think a few lines of code for this. And theoretically, you can put the APK shared somewhere. I think that is the only real solution but is it worth the hassle. I once did this and to MangoLassi site but I was bored and found it not really worth it. Also, what is your phone specs/model ?

      making an APK of the site does very little, basically just encapsulates it. I think all the issues carry right on through.

      There is only one way to find out, sadly I ate indica chocolate today and not sative so I am not gona do it or do anything actually.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Mangolassi mobile site is very jumpy

      @IRJ

      How easy it is to create a modern android app of an existing website? I think a few lines of code for this. And theoretically, you can put the APK shared somewhere. I think that is the only real solution but is it worth the hassle. I once did this and to MangoLassi site but I was bored and found it not really worth it. Also, what is your phone specs/model ?

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: ZFS is Perfectly Safe on Hardware RAID

      @scottalanmiller

      Recently I am noticing a change in you when it comes to ZFS.

      Also Poutine is overrated.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: User's PC is unstable

      @Dashrender

      Oh, the many times I got called the cause of Excel...

      I have felt after my encounter with it, is sometimes a specific version is better than the latest, and sometimes an update won't work as a fresh install with the update, and it all depends on Visual C++ runtimes and dot net framework.

      That said, nothing helps it more than fresh Windows Install + latest .net + latest C++ and good stable version of it. Also use the 32-bit , and disable addons and macros

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Laptop for stock trading

      @black3dynamite

      I think if you pitched one of those laptops with build in folding dual screen, would be better than gaming laptops.

      Tell him to invest in Camel Racing:
      Youtube Video

      GCC once again with the stigmata that we all are rich dumb ppl that dont know where to throw money.

      posted in IT Discussion
      Emad RE
      Emad R
    • 1 / 1