Ionel,

I might elaborate on James's excellent example...

The "/etc/zabbix_agentd.conf" file will be auto-generated using the rc.conf 
variables show below. If "/mnt/kd/zabbix_agentd.conf" is defined, that file 
will be solely used instead.  So if you want to add to the default 
zabbix_agentd.conf file, the simplest is to first define ZABBIX_SERVER and 
generate the default auto-generated file, then:

$ cp /etc/zabbix_agentd.conf /mnt/kd/zabbix_agentd.conf
(edit /mnt/kd/zabbix_agentd.conf to your needs)
$ service zabbix stop
$ service zabbix init

You will now be using only the "/mnt/kd/zabbix_agentd.conf" for the config, the 
ZABBIX_* rc.conf variables will be ignored.

Lonnie



On Jun 9, 2012, at 4:04 PM, Ionel Chila wrote:

> Thank bunch Lonnie and James. You guys the best. I am all over Zabbix :-)
> 
> 
> 
> From: Lonnie Abelbeck <[email protected]>
> To: AstLinux Users Mailing List <[email protected]> 
> Cc: Ionel Chila <[email protected]> 
> Sent: Saturday, June 9, 2012 2:00 PM
> Subject: Re: [Astlinux-users] Monitoring Astlinux/Asterisk & Hardware
> 
> Ionel,
> 
> Recall there was a very recent discussion on this:
> 
> [Astlinux-users] AstLinux Monitoring
> http://sourceforge.net/mailarchive/message.php?msg_id=29312209
> 
> Zabbix is built by default in AstLinux...
> Zabbix Agent (daemon) v1.8.10 (revision 24303) (28 December 2011)
> 
> Zabbix is supported with manually specifying user.conf variables.
> 
> Setting ZABBIX_SERVER is enough to get it running with defaults.
> --
> ## Zabbix Agent Daemon
> ## Zabbix is enabled if ZABBIX_SERVER is defined.
> #ZABBIX_SERVER=""              # Comma/space separated list of IP addresses 
> or hostnames for zabbix servers
> #ZABBIX_SERVER_PORT="10051"    # TCP port used for retrieving/sending active 
> check data
> #ZABBIX_HOSTNAME=""            # Unique, case sensitive hostname, required 
> for active checks
> #ZABBIX_LISTENPORT="10050"      # TCP port that zabbix_agentd listens on 
> locally
> #ZABBIX_STARTAGENTS="3"        # Number of pre-forked instances of 
> zabbix_agentd, must be between 1-16
> #ZABBIX_DEBUGLEVEL="3"          # "0" is no debug, "1" is critical, "2" is 
> errors, "3" is warnings, "4" is full debugging
> #ZABBIX_TIMEOUT="3"            # Processing limit in seconds, must be between 
> 1-30
> --
> 
> Then you need the "server" running elsewhere.
> 
> http://www.zabbix.com/
> 
> That is all I know about zabbix. :-)
> 
> Lonnie
> 
> PS:  A far as Asterisk monitoring goes, Network tab -> Safe Asterisk & SIP 
> Monitoring: works well for me.  The "Monitor SIP Trunks:" and "Monitor SIP 
> Peers:" web interface fields define the MONITOR_ASTERISK_SIP_TRUNKS and 
> MONITOR_ASTERISK_SIP_PEERS variables as described below.  Peers need 
> qualify=yes.
> 
> ## Asterisk SIP Monitor uses the same email NOTIFY settings as with Safe 
> Asterisk.
> ##
> ## Example: "sip show registry"
> ## chiv1.voippath.com:5060      xxxx    135 Registered      Sat, 21 May 2011 
> 10:21:11
> ## inbound18.bigtel.net:5060    xxxx    45 Registered      Sat, 21 May 2011 
> 10:22:42
> ##
> #MONITOR_ASTERISK_SIP_TRUNKS="chiv1.voippath.com inbound18.bigtel.net"
> ##
> ## Example: "sip show peers"
> ## voippath/homer-simpson    64.x.x.xx                5060    OK (67 ms)
> ## bigtel-inbound/homer1    64.x.x.xx                5060    Unmonitored
> ## bigtel-outbound/homer1    64.x.x.xx                5060    OK (42 ms)
> ##
> #MONITOR_ASTERISK_SIP_PEERS="voippath bigtel-outbound"
> 
> 
> 
> On Jun 9, 2012, at 1:30 PM, Ionel Chila wrote:
> 
> > What are you guys using to monitor the "health" of you asterisk / astlinux 
> > install as well the hardware (drive space, cpu utilization, memory, etc, 
> > etc)?  Does Astlinux supports snmp?  What kind of setup do you guys have? 
> > Can anyone share their configuration please?
> > 
> > Thanks

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to