[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Editing SNMP trap frequency in ESXi 5.0

Posted on 2013-06-04
12
Medium Priority
?
372 Views
Last Modified: 2014-12-11
Hi, we're currently getting a lot of these messages from our ESXi hosts since turning on SNMP traps -

vmware.vmwProductSpecific.30.3.0

I've scoured the vmware forums and it looks like we need to edit the file /etc/sfcb/sfcb.cfg. However I'm unable to get to that file through SSH. It tells me access is denied. So I tried installing the vCLI but i can't work out how to connect to the ESXi host in order to edit the file.

Is there anyone that's able to help?

Many thanks in advance.
0
Comment
Question by:afl_it
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 123
ID: 39218505
Are you using the FREE or Licensed version for ESXi?

see here you can also change, Filter out the trap

http://communities.vmware.com/thread/417164?start=0&tstart=0
0
 
LVL 1

Author Comment

by:afl_it
ID: 39218521
We're using the licensed version.
I found that page earlier but can't work out how you connect to a server in order to run the edit command at the bottom. Any ideas?
0
 
LVL 123
ID: 39218547
vicfg-snmp --notrap  1.3.6.1.4.1.6876.4.90.0.401

VMware KB: Configuring SNMP Traps for ESXi/ESX 3.5, 4.x, and 5.0

you can download and install the vSphere CLI from:

https://my.vmware.com/group/vmware/details?downloadGroup=VCLI50U1&productId=268

vicfg-snmp.pl --server hostname --username username --password password --show
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 1

Author Comment

by:afl_it
ID: 39218590
Everything has been setup as per the link you sent but i was wondering if there's a way to change the frequency of the traps.

I found the below but can't work out where to enter the command in the first place!

Edit /etc/sfcb/sfcb.cfg
add
heartbeatInterval: <seconds>
0
 
LVL 123
ID: 39218647
you need to login to the server via the console or ssh (remotely).

and use vi

e.g

vi /etc/sfcb/sfcb.cfg

if you do not know of to use vi, you can use WinSCP from Windows.
0
 
LVL 1

Author Comment

by:afl_it
ID: 39218864
Ok, I've entered that line into the sfcb.cfg file using vi through SSH but it doesn't seem to make any difference.

To test I set the interval time to 30 seconds but they still come every 5 minutes. I've disabled and reenabled the SNMP agent too.

Is there another setting somewhere?

Thanks
0
 
LVL 123
ID: 39219086
did you restart the host?
0
 
LVL 1

Author Comment

by:afl_it
ID: 39219144
No. I did this -

vicfg-snmp.pl --server <hostname> --username <username> --password <password> --disable
Enabling agent...
Complete.

vicfg-snmp.pl --server <hostname> --username <username> --password <password> --enable
Enabling agent...
Complete.

Is that not enough? Does the heartbeatInterval line need to be put anywhere in particular within the sfcb file? That's all i can think it'd be.

Thanks
0
 
LVL 123
ID: 39219227
other than editing the file is not supported, as long as it's in the file.
0
 
LVL 1

Author Comment

by:afl_it
ID: 39221541
It's strange because no matter what value i put into the line it seems to ignore it. Do you think i need to restart the whole host in order for it to take effect? Seems a bit drastic!

Thanks
0
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1500 total points
ID: 39221551
At a convenient time, I would certainly try restarting the host.
0
 
LVL 1

Author Comment

by:afl_it
ID: 39261700
Unfortunately finding a convenient time to restart the host is going to be pretty hard to do. Are there any other suggestions out there?

Thanks
0

Featured Post

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question