Aggregating Services

Hi all,

Is there any way to aggregating the selected services in nagios graph
i.e I need the total of selected services.

example:

I defined the following two services in services.cfg.

define service{
use generic-service
hostgroup_name MyServers
service_description ABC Message Count
contact_groups admins
check_command check_snmp!-C public -P2c -o .1.3.6.1.4.1.55.6.6.1.3
}

define service{
use generic-service
hostgroup_name MyServers
service_description XYZ Message Count
contact_groups admins
check_command check_snmp!-C public -P2c -o .1.3.6.1.4.1.55.6.6.1.4
}

I need a graph to show the sum of ABC Message Count and XYZ Message Count

please help

i dont’ think this works in nagios… you could create a funtcion in the RRD and show that in nagiosgraph.