Issue:
At Monitoring -> Trigger Overview view (URL http://<zabbix_server>/zabbix/overview.php) which used (in last versions such as 4.4) to show a overview of all problem and recovered triggers, now it's empty while in Monitoring -> Problems view (URL http://<zabbix_server>/zabbix/zabbix.php?action=problem.view) it shows the problems accordingly.
Additional info:
No filters selected
Selected to "show -> problems" in the filter
Zabbix version 5.0.3
Related
I am unable to get the remote command option on zabbix 6 for some reason any ideas?Operation description
if anyone can assist me i have worked through all the user manuals and they don't mention something about requirements on this drop down.
In version 6, commands are available for execution if previously defined in global scripts with Action operation selected as its scope.
In the previous versions, you just needed to select "remote command" as "operation type".
See https://www.zabbix.com/documentation/current/en/manual/config/notifications/action/operation#configuring-an-operation
Zabbix support came back with the answer on this and this is what you need to do.
Please be advised that In Zabbix 6.0 to use Scripts in Operations step you need to create such Scripts in Administration - Scripts section in Zabbix Frontend and set
Scope to Action operation:
enter image description here
Then this Script will be available in your Operations steps:enter image description here
So basically there is a seprate section to go and create your scripts and assign them to the action you want to take.
UPDATE (2020/12/03):
This has been fixed in PHP Storm 2020.3
I utilize PHP CodeSniffer and PHP Mess Detector to lint my code in PhpStorm. Until recently, I have been able to create custom severity levels (as shown below) and it will highlight my code accordingly if there is a violation.
What I found is that if I used one of the built in severity levels (e.g. Weak Error, Error, Sever Problem), the inspections and highlighting appear as I would expect, so it is not a problem with the installation of CodeSniffer or Mess Detector.
What I do to replicate the problem
Go under Inspections -> Quality Tools -> PHP_CodeSniffer Validation
Choose "Error" severity (all scopes)
Linting works as configured -- see below.
Click Edit Severity -> "Edit Severities" and create a custom Profile (e.g. CS Violation)
Set Colors and promote severity level to the top.
Click Apply
Editor now says "No Violations Found" and Syntax highlighting, feedback is missing as show below.
Question:
Is this a known bug or are there now additional tasks that must be completed in order to use custom severity levels in PhpStorm?
It's a known issue (if I'm getting your description correctly): https://youtrack.jetbrains.com/issue/WI-52633
Watch that ticket (star/vote/comment) to get notified on any progress.
I have a web server and I set up monitoring from zabbix access to site. For example access to https://server/test/
First I set up Web scenarios where I checked access to a site then I created Trigger
Problem expression:
{server:web.test.fail[server/test].last()}<>0
Recovery expression
{server:web.test.fail[server/test].last()}=0
It works fine but I want so that the trigger turn on after two or three check but now trigger turn on after one check.
How to set up quantity of attempts in the triger?
I decided the probrem
Problem expression: {server:web.test.fail[server/test].min(#3)}>0
Recovery expression {server:web.test.fail[server/test].max(#1)}=0
Ok, I run zabbix for a cisco switch with snmp. Works fine. Now I had my notebook plugged into it and now not anymore.
So Zabbix shows me that interface link is down. And I know it is down and it's good like that. How can I get rid of the problem (without disabling the check completely).
I tried to reset the counters on the switch, clear the history of the item and disabling and enabling the trigger, no luck.
You have a few options. You can disable the trigger completely however this will also break any other triggers with a dependency for "link down". You can do this via;
Configuration > Hosts > find the device and click 'triggers' for it > find the trigger for the port reporting the issue with the event link down > click the enabled column to the right for the entry in question, this will toggle it to disabled. You will no longer receive notifications or see the issue reported on the dashboard.
If you want to retain the other dependent triggers you can 'unlink and clear' the template from the host.
Configuration > Hosts > click the name of device in question > Templates tab > find the template in question and note its name > Click 'Unlink and clear' > Update button. Then immediately re-add it and click 'Update'. For most of my switches it is called "Template Net Network Generic Device SNMPv2" and is the only template for the switch. It will take some time before discovery re-adds all the ports again so give it some time.
You can accomplish the same thing by completely removing and re-adding the host. Both will reset stats for the device to some extent.
You could also edit the discovery rule that is auto discovering and adding all those triggers and exclude the ports you don't want to monitor for this trigger with a filter. You can check that out under;
Configuration > Hosts > Click the name of the device > Discovery rules.
Where does GM_setValue store the data to in chrome. I've tried to determine where the data is going but couldn't figure it out. I monitored with process monitor and saw that when I stored a value chrome was updating a chrome_iwoeoiifoi2h3iofhufsdfnvdf type of file and I opened that up with an sqlite browser but the data was not there. I've looked at all the recently modified files trying to find the data but could not find it.
Latest chrome/TM.
In Tampermonkey, GM_setValue() data is stored in a LevelDB database that can be found in the User Data Directory tree.
Once in Chrome's "User Data Directory" (EG: C:\Users\USER_JOE\AppData\Local\Google\Chrome\User Data\Default\),
navigate to the Local Extension Settings\dhdgffkkebhmkfjojejmpbldmpobfkfo folder.
(gcalenpjmijncebpfijmoaglllgpjagf for the Tampermonkey Beta.)
There you will find a LevelDB database, usually named CURRENT. You can manipulate it with tools like LevelDB JSON, but external support for LevelDB currently appears to be spotty and I did not find any working tools for Windows yet (might have to compile your own).
You can also use the Chrome Storage Area Explorer extension to explore the data.
As of Tampermonkey 4.3.6, you can see an individual script's data with the Storage tab in the built-in script editor: (if the 'Storage' tab is not visible, edit Tampermonkey Settings > General Config mode > Advanced)
OLD, Pre November-ish 2015:
Before, about November 2015, data was stored in a Web SQL database in databases\chrome-extension_dhdgffkkebhmkfjojejmpbldmpobfkfo_0.
Once you have navigated to the correct folder, you will typically see two files. On my machine, they are currently just named 4 and 6. These are both SQLite files (the backend for Chrome's Web SQL implementation) and can be inspected with a SQLite viewer/utility.
The (normally) larger file, 6 on my machine, is a somewhat disturbing list of 94-thousand userscripts! I'm not sure what purpose it serves, but haven't investigated it much.
The smaller file (initially, at least), 4 on my machine, is where all the information about/for your userscripts is kept. This includes any data set by GM_setValue().
For example, if I install and run this userscript:
// ==UserScript==
// #name _GM_setValue demo
// #match https://stackoverflow.com/questions/*
// #grant GM_setValue
// ==/UserScript==
GM_setValue ('foo', 'bar');
And then I inspect the `config` table in file `4`, I will see four entries like this:
[![DB entries for sample script][8]][8]
The one you want is the `#st` row. Notice how it has the `GM_setValue` data encoded? :