Most daemons use a "pidfile" argument, not "piddir". I'd prefer the former so if more than one nagios-api process is running on a box they don't conflict. (I don't know why someone would, but we should support it.)