2001-09-04
2001-09-04 05:42:33 by Honza Petrous <hop@unibase.cz>
-
7e23ea768ae82d3207c4bb7640367789939c1c1c
(11 lines)
(+8/-3)
[
Show
| Annotate
]
Branch: 5.2
Added URL syntax for traps.
Rev: server/base_server/configuration.pike:1.481
5:
// @appears Configuration
//! A site's main configuration
- constant cvs_version = "$Id: configuration.pike,v 1.480 2001/09/03 16:38:42 per Exp $";
+ constant cvs_version = "$Id: configuration.pike,v 1.481 2001/09/04 05:42:33 hop Exp $";
#include <module.h>
#include <module_constants.h>
#include <roxen.h>
3539: Inside #if defined(SNMP_AGENT)
" specific objects.",
0, snmp_disabled);
defvar("snmp_traphosts", ({ }),
- "SNMP: Trap hosts", TYPE_STRING_LIST,
- "The remote nodes, where should be sent traps.", 0, snmp_disabled);
+ "SNMP: Trap host URLs", TYPE_STRING_LIST,
+ "The remote nodes, where should be sent traps."
+ "<p>\n"
+ "The URL syntax is: snmptrap://community@hostname:portnumber"
+ "</p><br/>",
+ 0, snmp_disabled);
if (query("snmp_process")) {
if(objectp(roxen()->snmpagent)) {