Events (SNMP Trap)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aptitude -y purge accountsservice acpid apport apport-symptoms apt-transport-https apt-xapian-index at busybox-static byobu cloud-initramfs-growroot cloud-initramfs-rescuevol console-setup curl dbus dmidecode dosfstools ed eject fonts-ubuntu-font-family-console friendly-recovery ftp fuse geoip-database gettext-base gir1.2-glib-2.0 gir1.2-gudev-1.0 grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common hdparm iptables iputils-ping iputils-tracepath irqbalance iw kbd keyboard-configuration krb5-locales landscape-client landscape-common language-selector-common laptop-detect libaccountsservice0 libcap-ng0 libcurl3 libdate-manip-perl libdbus-glib-1-2 libevent-2.0-5 libfreetype6 libfuse2 libgc1c2 libgirepository-1.0-1 libgudev-1.0-0 libiw30 libjs-jquery libnfnetlink0 libparted0debian1 libpcap0.8 libpci3 libpolkit-gobject-1-0 libsasl2-modules libusb-1.0-0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 libyaml-syck-perl logwatch lshw lsof ltrace memtest86+ mlocate nano ntfs-3g os-prober |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$rssloungeDB="rsslounge"; | |
$selfossDB="selfoss"; | |
$rsslounge= new mysqli("localhost", "username", "password", $rssloungeDB); | |
$selfoss= new mysqli("localhost", "username", "password", $selfossDB); | |
/* Export categories into tags */ | |
$categories_query="select name from ".$rssloungeDB.".categories where ".$rssloungeDB.".categories.id>0"; | |
$categories= $rsslounge->prepare($categories_query); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 4 08:13:08 www statusnet: PHP Fatal error: Ostatus_profile::ensureActivityObjectProfile(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "LooseOstatusProfile" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /plugins/OStatus/classes/Ostatus_profile.php on line 1380 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d-i partman-auto/method string lvm | |
d-i partman-lvm/device_remove_lvm boolean true | |
d-i partman-lvm/confirm boolean true | |
d-i partman-lvm/confirm_nooverwrite boolean true | |
d-i partman-auto-lvm/new_vg_name string vg0 | |
d-i partman-auto-lvm/guided_size string 12GB | |
d-i partman-auto/expert_recipe string \ | |
boot-root :: \ | |
256 100 256 ext2 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map $http_host $dirname { | |
~(?P<subdomain>.*).domain.tld $subdomain; | |
} | |
server { | |
listen 80; | |
server_name domain.tld *.domain.tld; | |
root /var/www/$dirname/docroot; | |
index index.html; | |
try_files $uri $uri/ =404; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# hdparm -I /dev/sda | |
/dev/sda: | |
ATA device, with non-removable media | |
Model Number: APPLE SSD SM0512F | |
Serial Number: S1K5NYAG225885 | |
Firmware Revision: UXM2JA1Q | |
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0 | |
Standards: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: item get triggered, and alert sent, when threshold is reached. But, it get recovered within seconds despite hysteresis. | |
Since data are collected every minutes using trappers, we got an alert+recovery every minute. | |
Zabbix version: 2.4.6 for both server & agent | |
Item is discovered through LLD. Here's the actual LLD paylod: | |
{ | |
"{#RMQQUEUENAME}": "queue_name", | |
"{#RMQRATIOTHRES}": 5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/conf/zabbix_agentd.conf b/conf/zabbix_agentd.conf | |
index 1a76d61..c42052d 100644 | |
--- a/conf/zabbix_agentd.conf | |
+++ b/conf/zabbix_agentd.conf | |
@@ -1,4 +1,4 @@ | |
-# This is a config file for the Zabbix agent daemon (Unix) | |
+# This is a configuration file for Zabbix agent daemon (Unix) | |
# To get more information about Zabbix, visit http://www.zabbix.com | |
############ GENERAL PARAMETERS ################# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.5.0-2-amd64] (local build) | |
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF INFORMATION SECTION === | |
Model Family: Crucial/Micron MX100/MX200/M5x0/M600 Client SSDs | |
Device Model: Micron_M600_MTFDDAV512MBF | |
Serial Number: 1533106321A4 | |
LU WWN Device Id: 5 00a075 1106321a4 | |
Firmware Version: MA01 | |
User Capacity: 512 110 190 592 bytes [512 GB] |
OlderNewer