snmp

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring snmp
# 1  
Old 10-13-2010
snmp

hello,
I am looking for Overall CPU usage info in net-snmp 5.1.2 on solaris
5.8. I didn't see hrProcessorLoad info from host-resource-mib. Is
there any other MIB I could look into?

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies

2. Infrastructure Monitoring

SNMP traps to SNMP server

Dear Champs, I am new to unix, and need to configure linux server to send below traps to a SNMP server. Monitoring TRAP Disk Space Low Monitoring TRAP Memory Low Monitoring TRAP CPU high Monitoring TRAP Admin login/Logoff Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies

3. IP Networking

SNMP Problem - SNMP not getting to the agent.

I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem. Description: There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent. I see where the... (0 Replies)
Discussion started by: broberts
0 Replies

4. Red Hat

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies

5. IP Networking

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies

6. Infrastructure Monitoring

SNMP - what am I seeing?

Hey everyone! First, thank you in advance for any help you can provide. I'm a fairly experienced linux user, and just getting my feet wet in solaris for a project here at the office. I am trying to use snmpget on a linux box to get information from a Solaris 10 system. The solaris 10 system has... (5 Replies)
Discussion started by: msarro
5 Replies

7. Solaris

snmp

Hi, I want to configure snmp on solaris 10,What are steps (1 Reply)
Discussion started by: manoj.solaris
1 Replies
Login or Register to Ask a Question
snmpc(3erl)						     Erlang Module Definition						       snmpc(3erl)

NAME
snmpc - Interface Functions to the SNMP toolkit MIB compiler DESCRIPTION
The module snmpc contains interface functions to the SNMP toolkit MIB compiler. EXPORTS
compile(File) compile(File, Options) -> {ok, BinFileName} | {error, Reason} Types File = string() Options = [opt()] opt() = db() | relaxed_row_name_assign_check() | deprecated() | description() | reference() | group_check() | i() | il() | imports() | module() | module_identity() | module_compliance() | agent_capabilities() | outdir() | no_defs() | verbosity() | warnings() db() = {db, volatile|persistent|mnesia} deprecated() = {deprecated, bool()} relaxed_row_name_assign_check() = relaxed_row_name_assign_check description() = description reference() = reference group_check() = {group_check, bool()} i() = {i, [dir()]} il() = {il, [dir()]} imports() = imports module() = {module, atom()} module_identity() = module_identity module_compliance() = module_compliance agent_capabilities() = agent_capabilities no_defs() = no_defs outdir() = {outdir, dir()} verbosity() = {verbosity, silence|warning|info|log|debug|trace} warnings() = {warnings, bool()} dir() = string() BinFileName = string() Compiles the specified MIB file <File>.mib . The compiled file BinFileName is called <File>.bin . * The option db specifies which database should be used for the default instrumentation. Default is volatile . * The option deprecated specifies if a deprecated definition should be kept or not. If the option is false the MIB compiler will ignore all deprecated definitions. Default is true . * The option relaxed_row_name_assign_check , if present, specifies that the row name assign check shall not be done strictly according to the SMI (which allows only the value 1). With this option, all values greater than zero is allowed (>= 1). This means that the error will be converted to a warning. By default it is not included, but if this option is present it will be. * The option description specifies if the text of the DESCRIPTION field will be included or not. By default it is not included, but if this option is present it will be. * The option reference specifies if the text of the REFERENCE field, when found in a table definition, will be included or not. By default it is not included, but if this option is present it will be. The reference text will be placed in the allocList field of the mib-entry record (#me{}) for the table. * The option group_check specifies whether the mib compiler should check the OBJECT-GROUP macro and the NOTIFICATION-GROUP macro for correctness or not. Default is true . * The option i specifies the path to search for imported (compiled) MIB files. The directories should be strings with a trailing directory delimiter. Default is ["./"] . * The option il (include_lib) also specifies a list of directories to search for imported MIBs. It assumes that the first element in the directory name corresponds to an OTP application. The compiler will find the current installed version. For example, the value ["snmp/mibs/"] will be replaced by ["snmp-3.1.1/mibs/"] (or what the current version may be in the system). The current directory and the <snmp-home>/priv/mibs/ are always listed last in the include path. * The option imports , if present, specifies that the IMPORT statement of the MIB shall be included in the compiled mib. * The option module , if present, specifies the name of a module which implements all instrumentation functions for the MIB. The name of all instrumentation functions must be the same as the corresponding managed object it implements. * The option module_identity , if present, specifies that the info part of the MODULE-IDENTITY statement of the MIB shall be included in the compiled mib. * The option module_compliance , if present, specifies that the MODULE-COMPLIANCE statement of the MIB shall be included (with a mib-entry record) in the compiled mib. The mib-entry record of the module-compliance will contain reference and module part(s) this info in the assocList field). * The option agent_capabilities , if present, specifies that the AGENT-CAPABILITIES statement of the MIB shall be included (with a mib-entry record) in the compiled mib. The mib-entry record of the agent-capabilitie will contain reference and modules part(s) this info in the assocList field). * The option no_defs , if present, specifies that if a managed object does not have an instrumentation function, the default instrumentation function should NOT be used, instead this is reported as an error, and the compilation aborts. * The option verbosity specifies the verbosity of the SNMP mib compiler. I.e. if warning, info, log, debug and trace messages shall be shown. Default is silence . Note that if the option warnings is true and the option verbosity is silence , warning messages will still be shown. * The option warnings specifies whether warning messages should be shown. Default is true . The MIB compiler understands both SMIv1 and SMIv2 MIBs. It uses the MODULE-IDENTITY statement to determine if the MIB is version 1 or 2. The MIB compiler can be invoked from the OS command line by using the command erlc . erlc recognizes the extension .mib , and invokes the SNMP MIB compiler for files with that extension. The options db , group_check , deprecated , description , verbosity , imports and module_identity have to be specified to erlc using the syntax +term . See erlc(1) for details. is_consistent(Mibs) -> ok | {error, Reason} Types Mibs = [MibName] MibName = string() Checks for multiple usage of object identifiers and traps between MIBs. mib_to_hrl(MibName) -> ok | {error, Reason} Types MibName = string() Generates a .hrl file with definitions of Erlang constants for the objects in the MIB. The .hrl file is called <MibName>.hrl . The MIB must be compiled, and present in the current directory. The mib_to_hrl generator can be invoked from the OS command line by using the command erlc . erlc recognizes the extension .bin , and invokes this function for files with that extension. SEE ALSO
erlc(1) Ericsson AB snmp 4.19 snmpc(3erl)