Code Monkey home page Code Monkey logo

Comments (3)

rkaw92 avatar rkaw92 commented on June 10, 2024

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.

SmollClover avatar SmollClover commented on June 10, 2024

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.

intensite avatar intensite commented on June 10, 2024

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]

image

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)

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.