- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: NIC Agent is not sending SNMP traps
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:53 AM
06-15-2006 04:53 AM
NIC Agent is not sending SNMP traps
I try to generate a trap from the NIC subsytem by shutting down an interface with:
'ifconfig eth1 down'
I changed the cma.conf to log the trap instead of sending a mail, so I can see in /var/log/messages:
Jun 15 15:07:22 wc1 kernel: bcm5700: eth1 NIC Link is DOWN
Jun 15 15:07:23 wc1 logger: HP Insight Management Agents Trap Alarm root
But the SNMP trap is not being sent, I have checked it with tcpdump, though the snmpd.conf file looks right.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 12:23 PM
06-15-2006 12:23 PM
Re: NIC Agent is not sending SNMP traps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 04:20 AM
06-16-2006 04:20 AM
Re: NIC Agent is not sending SNMP traps
I am a bit confused about the MIB branch this NIC agent manages.
In /opt/compaq/nic/etc/cmanicobjects.conf I see it manages OIDs like 18.1.1, 18.1.2... but, where does it come from?
I mean, is it enterprises.18.1.1 or mib-2.18.1.1 or what? How to know the full OID from the root?
By the way, I am not using HP SIM (what is that?) but thanks for your answer anyway, David.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 05:51 AM
06-16-2006 05:51 AM
Re: NIC Agent is not sending SNMP traps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2006 07:46 PM
06-18-2006 07:46 PM
Re: NIC Agent is not sending SNMP traps
Well, we are not using SIM, but a generic SNMP Manager to receive traps and deal with some SNMP commands.
We have a set of different systems and we want to start in the simplest and cheapest manner to manage all them.
Now, my main two concerns regarding the NIC Agent:
* Why a trap looks like not generated when shutting down an interface?
* What is the MIB subtree managed by this agent?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2006 09:51 PM
06-25-2006 09:51 PM
Re: NIC Agent is not sending SNMP traps
If I shut down an interface, what the flow of messages would be?
I think 'cmanicd' may detect it then send the corresponding trap to 'snmpd', is this right?
At the moment, it is only being logged into the 'messages' file (because it is configured in this way in 'cma.conf').
Has somebody tried to generate a trap in this way? I have done similar tests in Solaris systems and the traps are indeed sent out of the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 10:03 PM
07-19-2006 10:03 PM
Re: NIC Agent is not sending SNMP traps
Starting NIC Agents (cmanic): All agents
Starting NIC Agent Daemon (cmanicd):cmanic started INFO: cpqnicd did not find any SNMP trap destinations in SNMP configuration file, cpqnic_trapd.c,2290
[OK]
So it seems cmanic agent cannot find any SNMP trap destination on startup.
This is strange because the file /etc/snmp/snmpd.conf does indeed exist, and it works fine for getting variable values from the SNMP Manager.
I am using the utility 'strace' but I cannot find any clue, though it seems it never looks for a snmpd.conf file...
What's wrong here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2006 10:23 PM
10-29-2006 10:23 PM
Re: NIC Agent is not sending SNMP traps
I'm facing the same problem here, here is what I can find in the cma.log file:
cmanic started INFO: cpqnicd did not find any SNMP trap destinations in SNMP configuration file, cpqnic_trapd.c,2749
INFO: cmanic monitoring /var/log/messages for link changes, cpqnic_trapd.c,2770
[OK]
Howere, there is a trapsink configuration directive in my snmpd.conf and trigerring a trap from the smh web interface works well.
Thank you for your help and time!
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 12:31 AM
10-30-2006 12:31 AM
Re: NIC Agent is not sending SNMP traps
First, it was not able to find the snmpd.conf configuration file. I fixed this with a symlink between /etc/snmp/snmpd.conf and /usr/share/snmp/snmpd.conf.
I was also testing the system with iconfig command but this is where it comes tricky...
cmanicd is polling /var/log/messages for messages about the network interface and when the link is going down (after ifconfig ethx down) nothing is logged to that file.
However, this is different when you up the interface because there are informations link speed and flow control. This is enough for cmanicd to trigger an snmp trap.
Now doing the same test but closing the port on the switch makes a trap going out for the interface because something appears in the log file when the interface is going down.
All these tests were done on a SLES10 with PSP761.
Hope this helps,
Regards,