Skip to content
README 768 B
Newer Older
Maximilien Bersoult's avatar
Maximilien Bersoult committed
Installation :
--------------

Use install.sh

Usage :
-------

root's avatar
root committed
Usage after release 2.0

  ./dsmclient.pl [-a action] [-h] -H hostname -i id -t timerequest [-s status] -o output ...
	-h|--help		Help
	-H|--Host		The hostname linked to trap services
	-i|--id			Id (a built string to match a specific alarm)
	-t|--time		The time epoch for the trap request
	-s|--status		The id status nagios 0 Ok; 1 Warning ; 2 Critical ; 3 Unknown
root's avatar
root committed
	-o|--output     The output to display in service comment

Maximilien Bersoult's avatar
Maximilien Bersoult committed
Usage before revision 34 : deprecated.

root's avatar
root committed
  ./dsmclient.pl hostname timerequest output
    hostname		The hostname with trap services
Maximilien Bersoult's avatar
Maximilien Bersoult committed
	timerequest		The time epoch for the trap request
	output			The output to display in service comment

garnier-quentin's avatar
garnier-quentin committed
In this version, the status if always CRITICAL.