SNMP Alarm Support

I'm a bit wary of munging two things together into one int like this. Can't we typedef a std::pair?