Users Guide

Host Group Device Name GUI Service Name Component Name Key attributes for
excludeinstance
Dell EMC Network Switch
vFlash Status
Flash
Dell EMC Network Switch
Physical Port Status
Port Name
Component Services
To list added or to be added services for Host Level and Host Group
Level
The following command lists all the component services that are discovered only:
--listservices: Lists all the added or to be added services for monitoring
To list added or to be added component services for discovered host
Syntax: Following script/syntax helps user to see that the list of services that are added or to be added for host.
python dellemc_nagios_discovery_service_utility.py --host=<IP address/FQDN> --listservices -
output.file=<host file location>
Example:
python dellemc_nagios_discovery_service_utility.py --host=100.28.45.36 --listservices -
output.file=/usr/local/nagios/dell/config/objects
NOTE: If output.file option is not provided, it takes the value as "<NAGIOS_HOME>/dell/config/objects"
To list added or to be added component services for Host Group
Syntax: Following script/syntax helps user to see that the list of services that are added or to be added for host group.
python dellemc_nagios_discovery_service_utility.py --hostgroup=<groupname> --listservices
Example:
python dellemc_nagios_discovery_service_utility.py --hostgroup="Dell EMC VxFlex" --
listservices
python dellemc_nagios_discovery_service_utility.py --hostgroup="Dell EMC Networking" --
listservices
python dellemc_nagios_discovery_service_utility.py --hostgroup="Dell EMC Chassis" --
listservices
Adding or removing component services
To add or remove services for Host Level and Host Group Level
The following command allows the user to add or remove component services at host and host group level:
-h: To find the list of the options available.
--addservices: To add services for monitoring at host or hostgroup level.
--removeservices: To remove services from monitoring at host or host group level.
--hostgroup: To add or remove services at the host group level.
NOTE:
--addservices and --removeservices option accepts predefined comma-separated values of services that are
enclosed in double quotes.
24 Device discovery and inventory