Lines Matching refs:agent
115 #include "agent.h"
235 /* static_agent is used when parsing an agent */
1213 error("BUG at line %d: static_agent not NULL in agent", yylineno);
1244 error("BUG at line %d: agent statement error",yylineno);
1351 /* assume that the subtree is the first agent
1395 static_table->agent = static_agent;
1624 error("error at line %d: the port number %d is already used by another agent", yylineno, token_value);
2315 error("No SNMP agent configured");
2389 if(pass == TABLE_TO_OID_GO &&subtree_add(tp->agent, static_subids, static_len,tbl_tag) == -1)
2391 sprintf(error_label, "subtree_add() failed for table %s for the agent %s",
2393 tp->agent->name);
2580 Agent *agent;
2585 if (sp->agent && sp->agent->first_manager) {
2586 agent_manager_list_free (sp->agent->first_manager);
2587 sp->agent->first_manager = NULL;
2607 if (sp->agent)
2608 sp->agent->first_manager = get_curr_manager_set();
2619 Agent *agent;
2623 if (sp->agent && sp->agent->first_manager) {
2624 agent_manager_list_free (sp->agent->first_manager);
2625 sp->agent->first_manager = NULL;
2643 if (sp->agent)
2644 sp->agent->first_manager = get_curr_manager_set();
2662 trace ("read_agent_files() agent -%s- ipaddr %s timeout %d id %d status %d pid %d mgr %X\n",
2673 ** for this agent
2678 sp->agent = ap;
2688 /* see if the agent has a personal resource file - if found,
2697 first_res->agent = ap;
2704 ** to find one whose agent name matches this one, and use it
2721 firstguy->agent = ap;