Lines Matching refs:mon_id
160 if ((err = sm_check_hostname(req, arg->mon_id.mon_name)) == 0) in sm_mon_1_svc()
169 syslog(LOG_DEBUG, "monitor request for host %s", arg->mon_id.mon_name); in sm_mon_1_svc()
171 arg->mon_id.my_id.my_name, in sm_mon_1_svc()
172 arg->mon_id.my_id.my_prog, in sm_mon_1_svc()
173 arg->mon_id.my_id.my_vers, in sm_mon_1_svc()
174 arg->mon_id.my_id.my_proc); in sm_mon_1_svc()
181 if (getaddrinfo(arg->mon_id.mon_name, NULL, NULL, &ai) != 0) in sm_mon_1_svc()
183 syslog(LOG_ERR, "Invalid hostname to sm_mon: %s", arg->mon_id.mon_name); in sm_mon_1_svc()
187 if ((hp = find_host(arg->mon_id.mon_name, TRUE))) in sm_mon_1_svc()
196 strncpy(lp->notifyHost, arg->mon_id.my_id.my_name, SM_MAXSTRLEN); in sm_mon_1_svc()
197 lp->notifyProg = arg->mon_id.my_id.my_prog; in sm_mon_1_svc()
198 lp->notifyVers = arg->mon_id.my_id.my_vers; in sm_mon_1_svc()
199 lp->notifyProc = arg->mon_id.my_id.my_proc; in sm_mon_1_svc()
260 struct sm_stat *sm_unmon_1_svc(mon_id *arg, struct svc_req *req __unused) in sm_unmon_1_svc()