Author Archive

VM Centos6 Xen migrate to Proxmox.

VM Centos6 Xen migrate to Proxmox.

After start – Emty on console.
* Edit /boot/grub/grub.conf , delete
rd_NO_LUKS rd_NO_DM rhgb quiet

Shell Array of Arrays

array="aaa bbb ccc"
array2="aaa1 bbb1 ccc1"
test="\$array \$array2"

for i in ${test}
        for j in `eval echo  "$i"`
                echo $j (more…)

З Новим Роком та Різдвом Христовим!


Вітаєм з Різдвом, з Новим роком вітаєм!
Бажаєм вам щастя, здоровя бажаєм!
Хай серце радіє, душа хай співає,

А настрій святковий весь рік не зникає!


Від щирого серця, вітаю всіх відвідувачів з Різдвом Христовим.
Fallback or ‘alternate’ content goes here. This content will only be visible if the SWF fails to load. (more…)

Happy Sysadmin Day !

SnamTrap and Zabbix

Centos 6

  • edit /etc/snmp/snmptrapd.conf

disableAuthorization yes

traphandle default /usr/sbin/snmptt

snmpTrapdAddr udp:

doNotLogTraps yes

  • /etc/snmp/snmptt.ini

snmptt_conf_files = <<END

  • Add MIB in /etc/snmp/snmptt.conf

EVENT linkDown . “Status Events” Normal
FORMAT ZBXTRAP $aA Link down on interface $1. Admin state: $2. Operational state: $4
EXEC /usr/lib/zabbix/externalscripts/ $aA $1 $4

EVENT linkUp . “Status Events” Normal
FORMAT ZBXTRAP $aA Link up on interface $1. Admin state: $2. Operational state: $4
EXEC /usr/lib/zabbix/externalscripts/ $aA $1 $4


Zabbix Tellegram graph

1.Create new User and add to Guest group.

Example: User_for_API


curl -s -i -X POST -H ‘Content-Type: application/json-rpc’ -d ‘{ “params”: { “user”: “User_for_API “, “password”: “” }, “jsonrpc”: “2.0”, “method”: “user.login”, “id”: 0 }’ ‘’


nginx selinux php-fpm error Permission denied

[crit] 24496#24496: *2747 connect() to failed (13: Permission denied) while connecting to upstream, client: , server: , request: “GET /test.php HTTP/1.1”, upstream: “fastcgi://”

[error] 24496#24496: *2731 open() index.html failed (13: Permission denied), client: , server: request: “GET /index.html HTTP/1.1”, host:


centos 7 inerface config

ip link add link enp9s4f0 name enp9s4f0.100 type vlan id 100
ip link set dev enp9s4f0.100 up
ip addr add dev enp9s4f0.100
ip route add default via

ip a

Monitoring Process and User

##Display Statistics of Users Connect Time

# ac

##Display Statistics of Users Day-wise

# ac -d

##Display Time Totals for each User

# ac -p

##Display Individual User Time

# ac tecmint

##Display Day-Wise Logn Time of User

# ac -d tecmint


FreeBSD run problem after upgrade

FreeBSD upgrade from 7.4->8.1 or 8.1->8.2
Freebds freeze on boot.

Boot on single user mode and ADD to /boot/device.hints