10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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. Red Hat
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
4. IP Networking
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
5. Infrastructure Monitoring
Good Day,
I have requirement to monitor a number of NCR unix server for our unix team. As the System Management product that we use in out company does not have an agent for NCR unix I am investigating the SNMP route. I got the unix guys to enable SNMP however, it seems the default MIB that is... (0 Replies)
Discussion started by: priteshj
0 Replies
6. IP Networking
Hi,
I am new to Net-snmp and I am trying to build upon the template .c and .h files, generated by the mib2c tool, for the agent development. Can somebody guide me on how to build upon the functions generated by mib2c tool or provide a sample code for an agent.
Thanks (0 Replies)
Discussion started by: tisha
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I'm reading net-snmp, using Unix (Solaries) and C language ...
- I can manipulate variable (managed object) declared in agent, but the manager can't see that ... it only see the initialization and the value which it ulters using snmpset ...
Ex:
Agent:
static int ... (0 Replies)
Discussion started by: zainab
0 Replies
8. Solaris
Hi,
I am trying to apply the steps in the below link:
http://manageengine.adventnet.com/products/applications_manager/help/appendix/snmp-agent-discovery.html#solaris
but I couldn't continue with the step number 2 ... what is the path of C compiler.
export PATH=<gcc path>:$PATH
... (3 Replies)
Discussion started by: adel8483
3 Replies
9. Solaris
:confused: :confused:
I have a subagent that registers to snmpd on Solaris 8. One of the queries this subagent handles can take an exceptionally long time (it can be on the order of ~30 seconds).
When this query is sent to the processor via SNMP, the subagent is being dropped from the... (1 Reply)
Discussion started by: jalburger
1 Replies
10. IP Networking
Hi,
I am really new in linux and SNMP.
I have a SNMP agent in Linux (net-snmp). I have my MIB
in the /usr/share/mibs directory, and I didn't manage to understand where and how do I put the values of the fields in the MIB? The values are static, so the agent need to return the same value in... (0 Replies)
Discussion started by: linuxbegginer
0 Replies
Info::Layer3::Pf(3pm) User Contributed Perl Documentation Info::Layer3::Pf(3pm)
NAME
SNMP::Info::Layer3::Pf - SNMP Interface to FreeBSD-Based Firewalls using Pf /Pf Sense
AUTHOR
Max Baker
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $pf = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.
";
my $class = $pf->class();
print "SNMP::Info determined this device to fall under subclass : $class
";
DESCRIPTION
Subclass for Free-BSD PF-Based devices
LLDP Support
LLDP Support is included but untested in this Device Class. It is reported that the available CDP/LLDP modules for net-snmp don't work on
FreeBSD (on which pfSense is based) as they assume certain Linux specific Ethernet structures. This problem is apparently solved on PF
based firewall appliances by using the ladvd package, for which a port may be found here: <http://www.freshports.org/net/ladvd/>. I'm not
sure if this module ties into Net-SNMP or not.
Inherited Classes
SNMP::Info::Layer3
SNMP::Info::LLDP
Required MIBs
FOKUS-MIB
Inherited Classes' MIBs
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
See "Required MIBs" in SNMP::Info::LLDP for its own MIB requirements.
GLOBALS
These are methods that return scalar values from SNMP
$pf->vendor()
Returns 'FreeBSD'
$pf->hasCDP()
Returns whether LLDP is enabled.
$pf->model()
Grabs the os version from "sysDescr"
$pf->os()
Returns 'Pf'
$pf->os_ver()
Tries to reference $pf->id() to one of the product MIBs listed above. Will probably return a truncation of the default OID for pf-
based systems "enterprises.12325.1.1.2.1.1".
Global Methods imported from SNMP::Info::Layer3
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
$pf->c_id()
Returns LLDP information.
$pf->c_if()
Returns LLDP information.
$pf->c_ip()
Returns LLDP information.
$pf->c_platform()
Returns LLDP information.
$pf->c_port()
Returns LLDP information.
Table Methods imported from SNMP::Info::Layer3
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
Table Methods imported from SNMP::Info::LLDP
See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
perl v5.12.4 2011-09-28 Info::Layer3::Pf(3pm)