2009-03-13 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.conf: Commented SNMPGET example module it is not useful in a default installation since it will always fail. * win32/bin/pandora_agent.conf: Added example for the new features such as watchdog and asynchronous mode. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
64a956975b
commit
8e7afc603b
|
@ -1,3 +1,12 @@
|
||||||
|
2009-03-13 Manuel Arostegui <marostegui@artica.es>
|
||||||
|
|
||||||
|
* linux/pandora_agent.conf: Commented SNMPGET example module
|
||||||
|
it is not useful in a default installation since it will always
|
||||||
|
fail.
|
||||||
|
|
||||||
|
* win32/bin/pandora_agent.conf: Added example for the new features
|
||||||
|
such as watchdog and asynchronous mode.
|
||||||
|
|
||||||
2009-02-24 Ramon Novoa <rnovoa@artica.es>
|
2009-02-24 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* win32/modules/pandora_module_proc.cc,
|
* win32/modules/pandora_module_proc.cc,
|
||||||
|
|
|
@ -90,12 +90,6 @@ module_min 0
|
||||||
module_description User CPU Usage (%)
|
module_description User CPU Usage (%)
|
||||||
module_end
|
module_end
|
||||||
|
|
||||||
module_begin
|
|
||||||
module_name Remote_Cisco_Port14_status
|
|
||||||
module_type generic_proc
|
|
||||||
module_exec snmpget -v 1 -c artica06 192.168.50.250 IF-MIB::ifOperStatus.13
|
|
||||||
module_end
|
|
||||||
|
|
||||||
module_begin
|
module_begin
|
||||||
module_name cpu_sys
|
module_name cpu_sys
|
||||||
module_type generic_data
|
module_type generic_data
|
||||||
|
@ -158,6 +152,13 @@ module_type async_string
|
||||||
module_exec last | head -1
|
module_exec last | head -1
|
||||||
module_end
|
module_end
|
||||||
|
|
||||||
|
#SNMPget module example
|
||||||
|
##module_begin
|
||||||
|
##module_name Remote_Cisco_Port14_status
|
||||||
|
##module_type generic_proc
|
||||||
|
##module_exec snmpget -v 1 -c artica06 192.168.50.250 IF-MIB::ifOperStatus.13
|
||||||
|
##module_end
|
||||||
|
|
||||||
# Plugin example
|
# Plugin example
|
||||||
|
|
||||||
# This parses /var/log/syslog file, under the module name "syslog"
|
# This parses /var/log/syslog file, under the module name "syslog"
|
||||||
|
|
|
@ -221,4 +221,42 @@ module_end
|
||||||
#module_description Server errors
|
#module_description Server errors
|
||||||
#module_end
|
#module_end
|
||||||
|
|
||||||
|
# Example of asynchronous process checking
|
||||||
|
#module_begin
|
||||||
|
#module_name Notepad
|
||||||
|
#module_type generic_data
|
||||||
|
#module_proc notepad.exe
|
||||||
|
#module_description Notepad
|
||||||
|
#module_async yes
|
||||||
|
#module_end
|
||||||
|
|
||||||
|
# Example of watchdog process opening it if it gets closed.
|
||||||
|
#module_begin
|
||||||
|
#module_name Notepad
|
||||||
|
#module_type generic_data
|
||||||
|
#module_proc notepad.exe
|
||||||
|
#module_description Notepad
|
||||||
|
#module_async yes
|
||||||
|
#module_watchdog yes
|
||||||
|
#module_start_command c:\windows\notepad.exe
|
||||||
|
#module_end
|
||||||
|
|
||||||
|
# Example of asynchronous service checking
|
||||||
|
# module_begin
|
||||||
|
# module_name ServiceSched
|
||||||
|
# module_type generic_proc
|
||||||
|
# module_service Schedule
|
||||||
|
# module_description Service Task scheduler
|
||||||
|
# module_async yes
|
||||||
|
# module_end
|
||||||
|
|
||||||
|
# Example of watchdog service opening it if it gets closed.
|
||||||
|
# module_begin
|
||||||
|
# module_name ServiceSched
|
||||||
|
# module_type generic_proc
|
||||||
|
# module_service Schedule
|
||||||
|
# module_description Service Task scheduler
|
||||||
|
# module_async yes
|
||||||
|
# module_watchdog yes
|
||||||
|
# module_end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue