Skip to content

Commit

Permalink
Correct the spelling of snmp.
Browse files Browse the repository at this point in the history
ZEN-35141
  • Loading branch information
jpeacock-zenoss committed Nov 8, 2024
1 parent 29bf0e5 commit 295bc04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Products/ZenEvents/zentrap/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

class TrapDaemon(PBDaemon):
"""
Daemon for monitoring SMNP traps and sending events derived from
Daemon for monitoring SNMP traps and sending events derived from
recieved traps.
"""

Expand Down
2 changes: 1 addition & 1 deletion Products/ZenModel/SiteError.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def cleanUrl(cls, errorUrl):


def createEmailHeader(cls, fromAddress, toAddress, subject):
''' Create the smnp header for an error email
''' Create the snmp header for an error email
'''
header = 'To: %s\nFrom: %s\nSubject: %s\n' % (
toAddress, fromAddress, subject)
Expand Down
4 changes: 2 additions & 2 deletions Products/ZenRRD/zenprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,14 +386,14 @@ def doTask(self):
# see if we need to connect first before doing any collection
try:
self.openProxy()
self._clearSmnpError(
self._clearSnmpError(
"SNMP config error cleared",
eventKey="snmp_config_error",
severity=Event.Clear,
)
except Exception as ex:
log.error("failed to create SNMP session: %s", ex)
self._sendSmnpError(
self._sendSnmpError(
"SNMP config error: {}".format(ex),
eventKey="snmp_config_error",
)
Expand Down

0 comments on commit 295bc04

Please sign in to comment.