[AGENT++] "cmd_exe_mib" example project

Олег Соковых zcodering at gmail.com
Fri Oct 31 06:14:50 CET 2014


Hi Frank,

Thanks for your quick reply.

 From the source code, I see that we register the following OIDs:

1.3.6.1.4.1.4976.6.1.2.2.2.1.(2..5)

from cmd_exe_mib.cpp:
==
/cmdExecutionCmdEntry::cmdExecutionCmdEntry()://
//    MibTable("1.3.6.1.4.1.4976.6.1.2.2.2.1", 1, FALSE)//
//{//
//	// This table object is a singleton. In order to access it use//
//	// the static pointer cmdExecutionCmdEntry::instance.//
//	instance = this;//
//
//	add_col(new cmdExecutionCmdName("2"));//
//	add_col(new cmdExecutionCmdStatus("3"));//
//	add_col(new cmdExecutionCmdRunTime("4"));//
//	add_col(new cmdExecutionCmdRowStatus("5"));//
//
//	threadPool = new ThreadPool(2);//
//}//
/==

or

1.3.6.1.4.1.4976.6.1.2.3.1.1.(2)

from cmd_exe_mib.cpp:
==
/cmdExecutionOutputEntry::cmdExecutionOutputEntry()://
//    MibTable("1.3.6.1.4.1.4976.6.1.2.3.1.1", 0, false)//
//{//
//	// This table object is a singleton. In order to access it use//
//	// the static pointer cmdExecutionOutputEntry::instance.//
//	instance = this;//
//
//	add_col(new cmdExecutionOutputLine("2"));//
//
//}/
==

But I don't see these OIDs in output snmpWalk utility.
Is there somewhere a short description of this example project?

Thanks!

Oleg



More information about the AGENTPP mailing list