TECHZEN Zenoss User Community ARCHIVE  

Check SIP?

Subject: Check SIP?
Author: [Not Specified]
Posted: 2014-05-14 06:25

Hi,

I have a plethora of asterisk installs running inside of VM's that I'd like to keep an eye on. For multiple reasons I don't want to turn on ssh or snmp inside of each VM.

I was using nagios to monitor these vm's. Specifically their check_sip plugin. It simply looks for a SIP response that ensures me that the asterisk process is still running.

I read here (http://community.zenoss.org/docs/DOC-2514) that Nagios plugins can be used inside of Zenoss. Is this still the case (I'm running 4.2.5)

Or does anyone have another suggestion for accomplishing this that I am not seeing

I throw myself upon the wisdom of the forums.

Thanks
David



Subject: Still possible. You should be
Author: [Not Specified]
Posted: 2014-05-14 07:20

Still possible. You should be able to copy the plugins and scripts over to the libexec folder and set up your checks to use them with the Command data source.

Here's a more recent ver of the notes: http://wiki.zenoss.org/Working_With_Nagios_Plugins



Subject: You can setup SNMP data
Author: [Not Specified]
Posted: 2014-05-14 07:43

You can setup SNMP data sources and use the following:

SIP PEERS
1.3.6.1.4.1.4321.4.3.32.3.1.1.15.99.104.101.99.107.95.115.105.112.95.112.101.101.114.115

Asterisk Uptime
1.3.6.1.4.1.4321.4.3.26.3.1.1.15.97.115.116.101.114.105.115.107.95.117.112.116.105.109.101

Astersik Processes
1.3.6.1.4.1.4321.4.3.1.3.1.1.18.97.115.116.101.114.105.115.107.95.112.114.111.99.101.115.115.101.115



Subject: So I've got a command setup
Author: [Not Specified]
Posted: 2014-05-26 18:40

So I've got a command setup via those instructions.. And I'm trying to test it via the zencommand function.. Here's what I get.

[root@monitor bin]# zencommand run
-bash: zencommand: command not found
[root@monitor bin]# ./zencommand run
./zencommand: line 12: /bin/zenfunctions: No such file or directory
./zencommand: line 18: generic: command not found
[root@monitor bin]# ls /bin/zen*
ls: cannot access /bin/zen*: No such file or directory

I did a standard install of 4.2.5 using the auto deploy instructions. I've googled around a fair amount and can't find anything, an am comming up short on how the zencommand command works. Can you get me going in the right direction

Thanks
David



Subject: Setting the $zenhome path did
Author: [Not Specified]
Posted: 2014-05-26 18:40

Setting the $zenhome path did the trick.



< Previous
SOLVED - New instalation and Nan in all graph and DOWN ping
  Next
SOLVED! Zenos 4.2.5 Render Server missing graphs.
>