1 #ifndef DNSDIST_SNMP_HH
2 #define DNSDIST_SNMP_HH
6 #include "snmp-agent.hh"
8 class DNSDistSNMPAgent;
12 class DNSDistSNMPAgent: public SNMPAgent
15 DNSDistSNMPAgent(const std::string& name, const std::string& masterSocket);
16 bool sendBackendStatusChangeTrap(const std::shared_ptr<DownstreamState>);
17 bool sendCustomTrap(const std::string& reason);
18 bool sendDNSTrap(const DNSQuestion&, const std::string& reason="");
21 #endif /* DNSDIST_SNMP_HH */