Giter Club home page Giter Club logo

zabbix's People

Contributors

hyperion11 avatar itmicus avatar menshatov avatar skazochnik97 avatar vahhhh avatar valerio-bozzolan avatar wmorgue avatar yborodin-oneinc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zabbix's Issues

Template 3.4 upd 3.11

Не загружается совсем обновленный 3.4 шаблон.
Старый 3.4 не отправляет запросы или не принимает. Постоянно метрика выдает нет данных от сайта,к какому бы я не обращался.
Все по гайду - создание хоста -> макросы -> нету хепи енда.

"Некорректное выражение триггера. Узел сети "Template - SSL metrics" не существует или у вас нет прав доступа к этому узлу сети. "

Problems activating template

I did everything that was said in readme but I'm stuck in add lines to zabbix.conf. Where I can find that configuration file. I'm new in Zabbix World!!!

I tried to put that lines in Zabbix agent configuration file, on Hyper-V Server - Failed!
I tried to put that lines in /etc/httpd/conf.d/zabbix.conf - Failed!

Where I have to put that lines?

VM Physical, average memory in Template Microsoft Hyper-V

Добрый день!
Не поддерживается итемы:

wmi.get[root\cimv2, select PhysicalMemory FROM Win32_PerfFormattedData_BalancerStats_HyperVDynamicMemoryVM WHERE Name='Zabbix']
wmi.get[root\cimv2, select AveragePressure FROM Win32_PerfFormattedData_BalancerStats_HyperVDynamicMemoryVM WHERE Name='Zabbix']
hyperv.hv.rootassignedmemory

Используется server 2012 и агент 3.4.6

Error Item Windows Inventory

Hi,

When I try to put the template on the host, it appears the following error:

Two items ("OS: hostname" and "Device name") cannot populate a host inventory field "Name", this would lead to a conflict.

How can I fix it?
I'm using Zabbix 4.4

Value should be a JSON object in Template Website metrics

Добрый день!
Возникает такая проблема в discovery rules. Веб проверка делается нормально.
Права, вроде, установлены верно.
Подскажите, в чем может быть проблема?

Не работают правила обнаружения для дисков и сетевых интерфейсов - Value should be a json object

Добрый день!

Прошу помощи, т.к. новичок в Zabbix. Суть проблемы следующая:

Есть удаленный активный агент zabbix (Windows 10) и сервер с "Template OS Windows Active (itmicus.ru)". Все работает отлично кроме правил обнаружения: Logical Disk discover, Network Interface discover и Physical Disk discover (у них написано Value should be a JSON object.)
С целью разобраться готов перенастроить агента на ваш сервер для дебага.

Заранее спасибо!

Станислав

Error while working with the template

5516:20191128:144542.700 Failed to execute command "powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\os_windows_active.ps1" -ActionType "get" -Key "inventory" -Value """: Timeout while executing a shell script.
5516:20191128:144542.700 active check "os.windows.active[get,inventory]" is not supported: Timeout while executing a shell script.

What could be the problem, tell me please

How check cluster iSCSI disks?

Hi!
Or If this hyper-v template is possible check mounted iSCSI disks in Hyper-V cluster?
I mount in C:\ClusterStorage\Volume1 and Volume2 ....
But I can't find, how check disk free/total space used for it.
Or this template that showing it?

No data.

Web site "https://google.com" Nodata
{check_two:website_metrics.test.code.nodata(10m)}=1

Так же не решенный вопрос. Все что мог обновил

Import failed Template Zabbix 3.4.10

Import failed
Details
Error in query [INSERT INTO items (name,type,snmp_community,snmp_oid,delay,history,trends,status,value_type,units,snmpv3_contextname,snmpv3_securityname,snmpv3_securitylevel,snmpv3_authprotocol,snmpv3_authpassphrase,snmpv3_privprotocol,snmpv3_privpassphrase,params,ipmi_sensor,authtype,username,password,publickey,privatekey,port,description,inventory_link,logtimefmt,jmx_endpoint,key_,trapper_hosts,hostid,master_itemid,flags,itemid) VALUES ('Physical Disk "{#PHYSICAL_DISK}" Avg. Disk Read/sec','7','','','15s','1w','365d','0','0','','','','0','0','','0','','','','0','','','','','','perf_counter["\PhysicalDisk({#PHYSICAL_DISK})\Avg. Disk sec/Read"]\r\n\r\nDisplays the average time the disk transfers took to complete, in seconds. Although the scale is seconds, the counter has millisecond precision, meaning a value of 0.004 indicates the average time for disk transfers to complete was 4 milliseconds. \r\nThis is the counter in Perfmon used to measure IO latency. \r\nI wrote a blog specifically about measuring latency with Perfmon. For details got to “Measuring Disk Latency with Windows Performance Monitor”. \r\n\r\nhttp://blogs.technet.com/b/askcore/archive/2012/02/07/measuring-disk-latency-with-windows-performance-monitor-perfmon.aspx\r\n\r\nСчетчик производительности Avg. Disk sec/Read указывает среднее время считывания данных с диска в секундах. Среднее значение счетчика производительности Avg. Disk sec/Read не должно превышать 10 миллисекунд. Максимальное значение счетчика производительности Avg. Disk sec/Read не должно превышать 50 миллисекунд.','0','','','wmi.get[root\cimv2,select AvgDisksecPerRead from Win32_PerfFormattedData_PerfDisk_PhysicalDisk where Name='{#PHYSICAL_DISK}']','','10367',NULL,'2','37474')] [Incorrect string value: '\xD0\xA1\xD1\x87\xD0\xB5...' for column 'description' at row 1]
SQL statement execution has failed "INSERT INTO items (name,type,snmp_community,snmp_oid,delay,history,trends,status,value_type,units,snmpv3_contextname,snmpv3_securityname,snmpv3_securitylevel,snmpv3_authprotocol,snmpv3_authpassphrase,snmpv3_privprotocol,snmpv3_privpassphrase,params,ipmi_sensor,authtype,username,password,publickey,privatekey,port,description,inventory_link,logtimefmt,jmx_endpoint,key_,trapper_hosts,hostid,master_itemid,flags,itemid) VALUES ('Physical Disk "{#PHYSICAL_DISK}" Avg. Disk Read/sec','7','','','15s','1w','365d','0','0','','','','0','0','','0','','','','0','','','','','','perf_counter["\PhysicalDisk({#PHYSICAL_DISK})\Avg. Disk sec/Read"]\r\n\r\nDisplays the average time the disk transfers took to complete, in seconds. Although the scale is seconds, the counter has millisecond precision, meaning a value of 0.004 indicates the average time for disk transfers to complete was 4 milliseconds. \r\nThis is the counter in Perfmon used to measure IO latency. \r\nI wrote a blog specifically about measuring latency with Perfmon. For details got to “Measuring Disk Latency with Windows Performance Monitor”. \r\n\r\nhttp://blogs.technet.com/b/askcore/archive/2012/02/07/measuring-disk-latency-with-windows-performance-monitor-perfmon.aspx\r\n\r\nСчетчик производительности Avg. Disk sec/Read указывает среднее время считывания данных с диска в секундах. Среднее значение счетчика производительности Avg. Disk sec/Read не должно превышать 10 миллисекунд. Максимальное значение счетчика производительности Avg. Disk sec/Read не должно превышать 50 миллисекунд.','0','','','wmi.get[root\cimv2,select AvgDisksecPerRead from Win32_PerfFormattedData_PerfDisk_PhysicalDisk where Name='{#PHYSICAL_DISK}']','','10367',NULL,'2','37474')".

Python 2 and 3 support

Now: website_metrics.py may work only on python 3 interpreter.
Want: run both python 2 and python 3 seamlessly.

Error powershell script

Hi, i've just encountered problems with powershell script.

If I execute it, it says me:

Cmdlet os_windows_active.ps1 in position 1 of command pipeline
Specify values for following parameters:
ActionType:

If I put any values, it says:

Keys:

I try to put values like 1 and 2 for testing it, but on Zabbix I didn't see any values.

Used inodes for 12h linear forecast

You have with formula:
forecast("vfs.fs.inode[{#FSNAME},free]",12h,,12h)

maybe need "used" instead free? With "free" key triger {#FSNAME}: FORECAST Free inodes is less than {$DISK.INODE.MIN.PCT:"{#FSNAME}"}% work wrong

Template OS Windows by Zabbix agent active

Hi,

I have a Zabbix 4.4 and when I was importing this template, it appeared the following error:

Cannot read XML: (41) Specification mandates value for attribute data-pjax-transient [Line: 43 | Column: 89].

Some problem of Template Windows Active

Please pay attention to the powershell's version of the server which the agents is running on, it should be PS5 but not the PS3.

Inventory and Auto discover won't work unless you update it.

By the way, it's better to add "StartAgents=0" to configuration file.

Don't forget to change the path in the “os_windows_active.conf” file.

import issue Template Microsoft Windows Certificates

zabbix_server (Zabbix) 3.4.7
Revision 77720 16 February 2018, compilation time: Feb 19 2018 07:37:17

Import failed:
Details Created: Discovery rule "Local machine certificates discover" on "Template Microsoft Windows Certificates (itmicus.ru)". Error in query [INSERT INTO items (name,type,snmp_community,snmp_oid,delay,history,trends,status,value_type,units,snmpv3_contextname,snmpv3_securityname,snmpv3_securitylevel,snmpv3_authprotocol,snmpv3_authpassphrase,snmpv3_privprotocol,snmpv3_privpassphrase,params,ipmi_sensor,authtype,username,password,publickey,privatekey,port,description,inventory_link,logtimefmt,jmx_endpoint,key_,trapper_hosts,hostid,interfaceid,flags,master_itemid,itemid) VALUES ('Сertificate \"{#LM_CERT_CN} ({#LM_CERT_FRIENDLYNAME})\" run checks','7','','','1d','3d','0','0','4','','','','0','0','','0','','','','0','','','','','','','0','','','windows.certs[get,lm_cert,{#LM_CERT_THUMBPRINT}]','','10228',NULL,'2',NULL,'34313')] [Incorrect string value: '\xD0\xA1erti...' for column 'name' at row 1] SQL statement execution has failed "INSERT INTO items (name,type,snmp_community,snmp_oid,delay,history,trends,status,value_type,units,snmpv3_contextname,snmpv3_securityname,snmpv3_securitylevel,snmpv3_authprotocol,snmpv3_authpassphrase,snmpv3_privprotocol,snmpv3_privpassphrase,params,ipmi_sensor,authtype,username,password,publickey,privatekey,port,description,inventory_link,logtimefmt,jmx_endpoint,key_,trapper_hosts,hostid,interfaceid,flags,master_itemid,itemid) VALUES ('Сertificate \"{#LM_CERT_CN} ({#LM_CERT_FRIENDLYNAME})\" run checks','7','','','1d','3d','0','0','4','','','','0','0','','0','','','','0','','','','','','','0','','','windows.certs[get,lm_cert,{#LM_CERT_THUMBPRINT}]','','10228',NULL,'2',NULL,'34313')".

Динамическая память на Hyper-V

Добрый день.
Использую динамическое распределение памяти на Hyper-V.
В логах сервера Zabbix
error reason for "P-HV:hyperv.hv.rootassignedmemory" changed: Received value [-4883832832.000000] is not suitable for value type [Numeric (unsigned)].

problem with automatic inventory on windows server 2019 with active agent

hi ,

template work just fine for windows server 2012-16 on my network.
only for 2 windows server 2019 systems , its seems to be a problem with many of the items in this template.
latest data show valuses , but automatic inventory fields not fiils up with values.

its show this error when press the unsupported item:
Preprocessing failed for: Exception from HRESULT: 0x80240007..At C:\zabbix\scripts\os_windows_active.ps1:163 char:5..+ ...

  1. Failed: cannot extract value from json by path "$.Antivirus": cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'Exception from HRESULT: 0x80240007
    At C:\zabbix\scripts\os_windows_active.ps1:163 char:5
  • $InstalledUpdates = $UpdateSearcher.QueryHistory(1, $N

Discovery rules errors

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'The argument 'C:\Program Files\zabbix-agent\scripts\os_windows_active.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: '#< CLIXML
{
"data":[

{ "{#DISKNUMLET}" : "0 C:" },
{ "{#DISKNUMLET}" : "1 F:" },
{ "{#DISKNUMLET}" : "2 D:" },
{ "{#DISKNUMLET}" : "3" },
{ "{#DISKN

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'The argument 'C:\Program Files\zabbix-agent\scripts\os_windows_active.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'The argument 'C:\Program Files\zabbix-agent\scripts\os_windows_active.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1

Windows Physical Disk IOPS: Discover PhysicalDisk Item prototypes 10 Trigger prototypes 2 Graph prototypes 3 Host prototypes system.run[%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy ByPass -nologo -EncodedCommand {$DISCOVERDISK1}{$DISCOVERDISK2}{$DISCOVERDISK3}{$DISCOVERDISK4}{$DISCOVERDISK5}] 1d Zabbix agent (active) Not supported  
  Template OS Windows Active (itmicus.ru): Logical Disk discover Item prototypes 7 Trigger prototypes 5 Graph prototypes 2 Host prototypes os.windows.active[discover,ldisk] 1d Zabbix agent (active) Not supported
  Template OS Windows Active (itmicus.ru): Network Interface discover Item prototypes 9 Trigger prototypes 5 Graph prototypes 2 Host prototypes os.windows.active[discover,pnetwork] 1d Zabbix agent (active) Not supported
  Template OS Windows Active (itmicus.ru): Physical Disk discover Item prototypes 5 Trigger prototypes 2 Graph prototypes 3 Host prototypes os.windows.active[discover,pdisk] 1d Zabbix agent (active) Not supported

Hyper-V Host total physical memory not supported in Template Microsoft Hyper-V

Здравствуйте. Тестирую темплейт.
Заббикс пишет not supported для айтемов:

  • Hyper-V Host total physical memory
  • Hyper-V Root memory assigned
  • VMs used physical memory %

В инфо:

Cannot evaluate function "last()": item "hvtest:wmi.get[root\cimv2,select TotalPhysicalMemory from Win32_ComputerSystem]" does not exist.

gwmi Win32_ComputerSystem на хосте:

Domain : WORKGROUP
Manufacturer : LENOVO
Model : F0CD007JRK
Name : HVTEST
PrimaryOwnerName : Windows User
TotalPhysicalMemory : 4189085696

В чем может быть причина?

Проблема с запуском скрипта

Доброго времени суток.
Zabbix не может получить данные, вручную скрипт не отрабатывает. Прошу помощи.

hyper1
hyper2

В логах агента и сервера ошибок выполнения скрипта нет.

Cannot evaluate expression: Invalid macro '{$PHYSICAL_MEMORY_MIN_FREE}' value

Доброго времени суток!
Столкнулись с проблемой, что Template OS Windows Active не работает триггер PHYSICAL_MEMORY_MIN_FREE.

Статус у триггера Unknown. Данные с хоста поступают, отрисовываются в графике.
Недоступен триггер на миннимальное значение оперативной памяти. Уведомления не приходят.

Просьба подсказать как решить данную проблему.

zabbix_server (Zabbix) 4.0.0
Revision 85308 1 October 2018, compilation time: Oct 1 2018 08:41:15

zabbix agent version 3.4.2 and 4.2.3

Timeout executing shell script (Hyper-V Template)

Hi,

I have a problem with the Hyper-V template. Some of the items doesn't work, because shell script gives a timeout.

Example running from console:

zabbix_get.exe -s myhost -k hyperv.host[discover,vm_na]
ZBX_NOTSUPPORTED: Timeout while executing a shell script.

Can you give me any advice about this?

Thanks,

Доступность узла Windows

Добрый день.
Пользуюсь Вашими шаблонами Template OS Windows Active и Template Microsoft Hyper-V. Стандартный Windows шаблон пришлось отключить, т.к. была ошибка совместного использования.
Но в Ваших шаблонах нет контроля доступности узла. Не могли ли бы Вы добавить это?
Или нужно использовать другие шаблоны?
Спасибо.

Unable to import the new Template OS Windows by Zabbix agent active

Hi

Thank you very much for the new zabbix template for windows.

Been unable to upload it. Kept getting the error;

Host group "Templates/Operating Systems" already exist.

When I tried changing the host group to "Templates" and importing again, got the error;

Discovery rule "vfs.fs.discovery" already exist on "Template OS windows by Zabbix agent", inherited from another template.

Kindly assist.
Thank you very much

os_window_actives.ps1 has no function for window service discovery.

Hi,

I see error in window service discovery rule of Template Window Agent active with error message "Cannot find the "data" array in the received JSON object". Other discovery rule in this template works fine. When I check through os_window_actives.ps1, there is no powershell function for window service discovery. Had I miss some script for this template?

os_window_active.ps1 output
os_window_active_ps1_output

Template Window Agent active service discovery rule error
discovery_rule_error_window_service

Environment
Zabbix Window Agent: 4.4.4
Window Server 2012 Standard, 2012 R2 Datacenter
Zabbix Server version: 4.0.1, 4.4.6

Problems with Windows Active Template

hi, I've tried to use Windows Active template, but I have a problem here... Windows 7, 10, working perfectly.... When I install 2008r2, 2012, 2012r2, they didn't bring any information..

i've tested ports, scripts, nothing works!!!!

Unsupported item key.

Good day.
Screwed your template to Microsoft Hyper-V Server 2016
Part of the data goes, and part does not go.
in logs this

active check " hyperv.host[discover, va]" is not supported: Unsupported item key.
active check " hyperv.host[discover, vm]" is not supported: Unsupported item key.

and so, how I understand, on all items

Website metrics error: 'ascii'

Добрый день!
При запуске ./website_metrics.py --testsite "http://sitename" --testphrase "2018" --debug "True" выдается ошибка:
Error: 'ascii' codec can't encode characters in position 179-192: ordinal not in range(128)
Сайт работает по http.
Подскажите, в чем может быть проблема?

Template OS Windows Active cannot be used

I follow the settings.
Import the template XML file using the Zabbix Templates Import feature. Create host and set Template OS Windows Active Create 2 folders in zabbix agent folder: \scripts\ \zabbix_agentd\ and copy the files active_os_windows.ps1 to \scripts\ active_os_windows.conf to \zabbix_agentd\ Add lines to zabbix.conf Include=C:\Program Files\zabbix-agent\zabbix_agentd\*.conf UnsafeUserParameters=1 Timeout=10 Restart Zabbix Agent

but
The host Availability's ZBX is don't working
The Template's “Discovery rules 4” have “Value should be a JSON object” tips.

File "./website_metrics.py", line 47, in <module>

Добрый день.
При запуске команды
./website_metrics.py --discoverydomain "https://google.com" --debug "True"

Вылазит ошибка

./website_metrics.py --discoverydomain "https://google.com" --debug "True"
Traceback (most recent call last):
File "./website_metrics.py", line 47, in
HTTPResponse = requests.packages.urllib3.response.HTTPResponse #python2/3
AttributeError: 'module' object has no attribute 'packages'

Так же в вэб интерфейсе пишет что Итем - Not supported с ошибкой

Preprocessing failed for: Traceback (most recent call last):. File "/usr/lib/zabbix/externalscripts/website_metrics.py", l...

  1. Failed: cannot extract value from json by path "$.test_time": cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'Traceback (most recent call last):
    File "/usr/lib/zabbix/externalscripts/website_metrics.py", line 47, in
    HTTPResponse = requests.packag

Подскажите с чем может быть проблема.
CentOS Linux 7

Invalid processing of forecast for disks 12h

Invalid processing of forecast for disks. The forecast should be on an empty seat, but not on a busy one. The trigger fires when the disk is almost empty and there is a lot of free space. For example, 2GB of 150GB is occupied, the trigger fires because 2GB is less than 10GB, but more than 1GB.

Discovery trigger error

Hi.

In Logical Disk discover, in the prototypes, there is an error value:
Used Disk "{#LOGICAL_DISK} {#LOGICAL_DISK_VOLUME_NAME}" --> Key is os.windows.active.ldisk.used.mbytes[{#LOGICAL_DISK}]
and myst be os.windows.active.ldisk.used.bytes[{#LOGICAL_DISK}]

Interface type returning -1 for Linux templates

I was able to get all of the items and templates working, with the exception of the interface type for Linux hosts (specifically RHEL v7.7). I'm getting a value of -1:

Key: custom.netif.type[eth0]
Value "-1" of type "string" is not suitable for value type "Numeric (unsigned)"

image

Get-NetworkStatusFromValue is not recgonized as the name of a cmdlet

When I am troubleshooting why I am not receiving my network traffic statistics, this is what I get as an error when I run this command in Windows 10 :

PS C:\Program Files\Zabbix Agent\scripts> .\os_windows_active.ps1 -ActionType get -Key pnetwork -Value "Intel[R] Dual Band Wireless-AC 7265"

Get-NetworkStatusFromValue : The term 'Get-NetworkStatusFromValue' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At C:\Program Files\Zabbix Agent\scripts\os_windows_active.ps1:271 char:34
+             $connection_status = Get-NetworkStatusFromValue -SV ([con ...
+                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-NetworkStatusFromValue:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

{
    "MacAddress":  null,
    "LinkSpeed":  0,
    "Name":  null,
    "InterfaceIndex":  null,
    "Status":  null,
    "AdminStatus":  null
}

No VM data

hello, how can i solve this problem?
12836:20191130:180257.984 agent #5 started [active checks #1]
12836:20191130:180258.125 active check "ms.hyperv[full]" is not supported: Unsupported item key.
12836:20191130:181458.405 active check "ms.hyperv[full]" is not supported: Unsupported item key.

Linux Template

Hi,

When I try to import the linux template, it displays the following error:

Error in query [INSERT INTO hosts (host,name,description,status,hostid) VALUES ('Template OS Linux Network by Zabbix agent active','Template OS Linux Network by Zabbix agent active','Name: Template OS Linux Network by Zabbix agent active\r\n\r\nDescription: Template for monitoring Linux Network\r\n\r\nHomepage: https://github.com/itmicus/zabbix\r\n\r\nIssues: https://github.com/itmicus/zabbix/issues\r\n\r\nAuthor: itmicus.ru\r\n\r\nVersion: 1.0\r\n\r\nChangelog:\r\nThe format is based on Keep a Changelog\r\n\r\n## [1.0.0] - 2019-09-03\r\n### Added\r\n- Separation of operating system monitoring into major components: cpu, memory, disk, network\r\n- Templates follow Zabbix template guidelines (https://www.zabbix.com/documentation/4.4/manual/appendix/templates/template_guidelines)\r\n- All triggers redesigned, only key triggers left that show real problems\r\n- All macros and regular expressions moved to templates\r\n\r\n### Changed\r\n\r\nFor explanation:\r\n\r\nnetwork: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net\r\n\r\n# if ethtool installed UserParameter=custom.netif.ethtool[],ethtool $1 2>/dev/null || echo "N/A"\r\n#https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net\r\nUserParameter=custom.netif.speed[],cat /sys/class/net/$1/speed 2>/dev/null || echo 0\r\nUserParameter=custom.netif.carrier[],cat /sys/class/net/$1/carrier 2>/dev/null || echo 0\r\nUserParameter=custom.netif.operstate[],cat /sys/class/net/$1/operstate 2>/dev/null || echo -1\r\nUserParameter=custom.netif.name_assign_type[],cat /sys/class/net/$1/name_assign_type 2>/dev/null || echo 0\r\nUserParameter=custom.netif.addr_assign_type[],cat /sys/class/net/$1/addr_assign_type 2>/dev/null || echo 0\r\nUserParameter=custom.netif.address[],cat /sys/class/net/$1/address 2>/dev/null || echo "N/A"\r\nUserParameter=custom.netif.dev_id[],cat /sys/class/net/$1/dev_id 2>/dev/null || echo "N/A"\r\nUserParameter=custom.netif.duplex[],cat /sys/class/net/$1/duplex 2>/dev/null || echo "N/A"\r\nUserParameter=custom.netif.type[],cat /sys/class/net/$1/type 2>/dev/null || echo -1 \r\n\r\n#Apache UserParameter=zapache[*],/etc/zabbix_itmicus/scripts/zapache \$1\r\nmemory based on https://access.redhat.com/solutions/406773 \r\n\r\nUserParameter=ip_conntrack_count,cat /proc/sys/net/ipv4/netfilter/ip_conntrack_count\r\nUserParameter=ip_conntrack_max,cat /proc/sys/net/ipv4/netfilter/ip_conntrack_max\r\n\r\nMonitoring of MD Soft RAID: https://github.com/krom/zabbix_template_md and https://github.com/q1x/zabbix-templates/tree/master/linux-md\r\n\r\ndisks (kernel 2.6+):\r\nwget https://raw.githubusercontent.com/krom/zabbix_template_md/master/userparameter_md.conf\r\nhttps://www.kernel.org/doc/Documentation/iostats.txt\r\n\r\nКоличество операций в секунду (ops)\r\nПропускная способность (throughput)\r\nВремя обработки запроса (latency или правильней svctime)\r\nУтилизация дисковой подсистемы (utilization)\r\n\r\n\r\nCPU:\r\nhttps://habr.com/ru/post/216827/','3','10287')] [Incorrect string value: '\xD0\x9A\xD0\xBE\xD0\xBB...' for column 'description' at row 1]

SQL statement execution has failed "INSERT INTO hosts (host,name,description,status,hostid) VALUES ('Template OS Linux Network by Zabbix agent active','Template OS Linux Network by Zabbix agent active','Name: Template OS Linux Network by Zabbix agent active\r\n\r\nDescription: Template for monitoring Linux Network\r\n\r\nHomepage: https://github.com/itmicus/zabbix\r\n\r\nIssues: https://github.com/itmicus/zabbix/issues\r\n\r\nAuthor: itmicus.ru\r\n\r\nVersion: 1.0\r\n\r\nChangelog:\r\nThe format is based on Keep a Changelog\r\n\r\n## [1.0.0] - 2019-09-03\r\n### Added\r\n- Separation of operating system monitoring into major components: cpu, memory, disk, network\r\n- Templates follow Zabbix template guidelines (https://www.zabbix.com/documentation/4.4/manual/appendix/templates/template_guidelines)\r\n- All triggers redesigned, only key triggers left that show real problems\r\n- All macros and regular expressions moved to templates\r\n\r\n### Changed\r\n\r\nFor explanation:\r\n\r\nnetwork: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net\r\n\r\n# if ethtool installed UserParameter=custom.netif.ethtool[],ethtool $1 2>/dev/null || echo "N/A"\r\n#https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net\r\nUserParameter=custom.netif.speed[*],cat /sys/class/net/$1/speed 2>/dev/null || echo 0\r\nUserParameter=custom.netif.carrier[],cat /sys/class/net/$1/carrier 2>/dev/null || echo 0\r\nUserParameter=custom.netif.operstate[],cat /sys/class/net/$1/operstate 2>/dev/null || echo -1\r\nUserParameter=custom.netif.name_assign_type[],cat /sys/class/net/$1/name_assign_type 2>/dev/null || echo 0\r\nUserParameter=custom.netif.addr_assign_type[],cat /sys/class/net/$1/addr_assign_type 2>/dev/null || echo 0\r\nUserParameter=custom.netif.address[],cat /sys/class/net/$1/address 2>/dev/null || echo "N/A"\r\nUserParameter=custom.netif.dev_id[],cat /sys/class/net/$1/dev_id 2>/dev/null || echo "N/A"\r\nUserParameter=custom.netif.duplex[],cat /sys/class/net/$1/duplex 2>/dev/null || echo "N/A"\r\nUserParameter=custom.netif.type[],cat /sys/class/net/$1/type 2>/dev/null || echo -1 \r\n\r\n#Apache UserParameter=zapache[],/etc/zabbix_itmicus/scripts/zapache \$1\r\nmemory based on https://access.redhat.com/solutions/406773 \r\n\r\nUserParameter=ip_conntrack_count,cat /proc/sys/net/ipv4/netfilter/ip_conntrack_count\r\nUserParameter=ip_conntrack_max,cat /proc/sys/net/ipv4/netfilter/ip_conntrack_max\r\n\r\nMonitoring of MD Soft RAID: https://github.com/krom/zabbix_template_md and https://github.com/q1x/zabbix-templates/tree/master/linux-md\r\n\r\ndisks (kernel 2.6+):\r\nwget https://raw.githubusercontent.com/krom/zabbix_template_md/master/userparameter_md.conf\r\nhttps://www.kernel.org/doc/Documentation/iostats.txt\r\n\r\nКоличество операций в секунду (ops)\r\nПропускная способность (throughput)\r\nВремя обработки запроса (latency или правильней svctime)\r\nУтилизация дисковой подсистемы (utilization)\r\n\r\n\r\nCPU:\r\nhttps://habr.com/ru/post/216827/','3','10287')".

How can I fix it?
I'm using Zabbix 4.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.