Giter Club home page Giter Club logo

zabbix-asterisk-pjsip's Introduction

template and scripts for monitoring asterisk calls and other data

add the following to zabbix_agent.conf

UserParameter=calls.active,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh calls.active
UserParameter=calls.processed,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh calls.processed
UserParameter=calls.longest, /etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh calls.longest
UserParameter=channels.active,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh channels.active
UserParameter=status,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh status
UserParameter=status.crashes,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh status.crashes
UserParameter=status.reload,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh status.reload
UserParameter=status.uptime,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh status.uptime
UserParameter=status.version,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh status.version
UserParameter=iax.register.time,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh iax.register.time
UserParameter=iax.trunk.down,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh iax.trunk.down
UserParameter=sip.register.time,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh sip.register.time
UserParameter=sip.trunk.down,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh sip.trunk.down
UserParameter=sip.peers,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh sip.peers
UserParameter=wrong.password,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh wrong.password
UserParameter=sip.peers,/etc/zabbix/zabbix_agentd.conf.d/scripts/asterisk.sh sip.peers

Put asterisk.sh in zabbix_agentd.conf.d and create correct permissions (chmod +x)

### Zabbix Setup
echo '%zabbix ALL=(asterisk) NOPASSWD:/usr/sbin/asterisk' >> /etc/sudoers

zabbix-asterisk-pjsip's People

Contributors

hieronymousch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zabbix-asterisk-pjsip's Issues

grep -oP

Please show what do you want to make by grep -oP. I installed perl and didn't get any result. Could you use egrep?
grep -oP '\(\K[^\)]+'

Need hel

Hi i need help please,
i do what you put in readme but i have no data receive from you're script or template .
The only thing i change its i don't have /etc/zabbix/zabbix_agentd.conf.d/scripts/ folder, so
i put asterisk.sh in zambia folder and change the road on zabbix agent files ...
i receive all the date from the server but nothing in relation with asterisk and you're template ...

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.