Customization of snmptrapsender.inc.php
Posted: Thu Oct 16, 2014 5:49 am
Hi,
i need to have the nSvcNotify trap to contain the following information values.
nHostname
nHostStateID
nSvcGroupName
nSvcLastCheck
nSvcLastChange
nSvcOutput
nSvcDesc
nSvcStateID
nSvcAttempt
nSvcDurationSec
nSvcNotifyType
nSvcNotifyNum
nSvcAckAuthor
nSvcAckComment
i can edit the snmptrapsender.inc.php to contain the variables but how do i get the values? For example, the nSvcHostname is %host%. Where can i get those information?
Thanks.
i need to have the nSvcNotify trap to contain the following information values.
nHostname
nHostStateID
nSvcGroupName
nSvcLastCheck
nSvcLastChange
nSvcOutput
nSvcDesc
nSvcStateID
nSvcAttempt
nSvcDurationSec
nSvcNotifyType
nSvcNotifyNum
nSvcAckAuthor
nSvcAckComment
i can edit the snmptrapsender.inc.php to contain the variables but how do i get the values? For example, the nSvcHostname is %host%. Where can i get those information?
Thanks.