Comments (3)
This sounds like the item is not added on the Zabbix server, so there's nowhere to write the value to. I don't have a Zabbix instance handy to reproduce the issue at the moment, so I could be wrong.
In any case, check whether sudo -u root pm2-zabbix --discover
actually works - does it produce a sensible output?
from pm2-zabbix.
Like described in the Installation guide, I've imported the Template and added it to the Host.
Also, here is the exact output I receive when running that command.
(node:931477) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:931477) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:931477) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
{
"data": [
{
"{#PROCESS_ID}": "Hiko-0",
"{#PROCESS_NAME}": "Hiko"
},
{
"{#PROCESS_ID}": "SCP-1",
"{#PROCESS_NAME}": "SCP"
},
{
"{#PROCESS_ID}": "Cache-2",
"{#PROCESS_NAME}": "Cache"
},
{
"{#PROCESS_ID}": "Yagi-3",
"{#PROCESS_NAME}": "Yagi"
},
{
"{#PROCESS_ID}": "FiveM-5",
"{#PROCESS_NAME}": "FiveM"
},
{
"{#PROCESS_ID}": "MG-6",
"{#PROCESS_NAME}": "MG"
}
]
}⏎
from pm2-zabbix.
Any news on this issue? I am facing the same.
I have imported the Template App PM2, however something doesn't seem to work with the keys:
I.E:
pm2.processes[{#PROCESS_ID},cpu] pm2.processes[{#PROCESS_ID},status]
The monitoring of PM2 Daemon works fine but I can get the PM2 processes info to be received by Zabbix Server.
Any ideas ?
from pm2-zabbix.
Related Issues (20)
- pm2-zabbix --monitor PM2ZabbixMonitor#processListSendingError
- Not installed no Linux ubuntu
- error while running command : pm2-zabbix --monitor HOT 3
- monitor error HOT 2
- "level":50, "event":"PM2ZabbixMonitor#processListSendingError","error":{"killed":false,"code":2,"signal":null, "cmd":"/usr/bin/zabbix_sender --config /etc/zabbix/zabbix_agentd.conf --input-file -"} HOT 7
- SELinux is preventing /usr/bin/sudo from connectto access on the unix_stream_socket /run/dbus/system_bus_socket.
- Cannot find module 'zabbix-sender' HOT 1
- Problem with pm2-zabbix & varnish-zabbix HOT 1
- Failed to send pm2 data to Zabbix server getting "code":1 HOT 1
- Failed to send PM2 status: Error: Command failed:
- Wrong pm2.pid path
- pm2-zabbix --monitor wont run
- Warnings like (node:6980) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency HOT 3
- Zabbix-agent 2 and another zabbix-agent installation path
- Error Code 2 HOT 4
- Error Code 1 - Zabbix agent 2 HOT 1
- Warning: Accessing non-existent property 'cat' of module exports inside circular dependency HOT 1
- item_prototype name wrong
- error on ubuntu 22.04 ARM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pm2-zabbix.