03-05-2012 04:19 AM
I've clealy missed something fundamental, but i can't find it anywhere.
My old 3.2 installation works perfectly, sends email alerts when error or performance thresholds are exceeded, or interfaces go up or down.
I've installed 4.2 on a new server, it is collecting configurations, hardware inventories etc. and will email me reports of those quite happily. It log alerts in its local database and I can log in and manage them.
It will NOT send me an email telling me an interface has gone up/down, or exceeded the performance thresholds (set at the same as 3.2)
I've had to leave 3.2 running until this is resolved, now there's no DFM page I'm going through every one of the pages one by one and I can't see anything I've missed.
Help!
Gareth
03-05-2012 05:55 AM
So you see events in fault managment but you get no mail?
Check the logs/smtp.log. Check also logs/dfmlogs/nos/nos.log
Cheers,
Michel
03-05-2012 06:16 AM
Hmm.. nos log:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:10.102|ERROR|NOS|TP-Processor3|NOSUtil|queryEmailSubscriptionName|.|Error in calling - queryEmailSubscriptionName from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:19.914|ERROR|NOS|TP-Processor3|NOSUtil|ExistingTrapForward|.|Error in calling - ExistingTrapForward from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:19.915|ERROR|NOS|TP-Processor3|RawTrapForwarder|myValidate()|.|NOSException caught while getting exiting port
com.cisco.nm.trx.nos.util.NOSException: Error in calling - ExistingTrapForward from class NOSUtil
05-Mar-2012|10:58:24.469|ERROR|NOS|TP-Processor12|NOSUtil|queryTrapSubscriptionName|.|Error in calling - queryTrapSubscriptionName from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:29.038|ERROR|NOS|TP-Processor12|NOSUtil|ExistingSNMPPort|.|Error in calling - ExistingSNMPPort from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:29.039|ERROR|NOS|TP-Processor12|RawTrapReceiver|myValidate()|.|NOSException caught while getting exiting port
com.cisco.nm.trx.nos.util.NOSException: Error in calling - ExistingSNMPPort from class NOSUtil
05-Mar-2012|10:58:38.029|ERROR|NOS|TP-Processor12|NOSUtil|SNMPPortUpdate|.|Error in calling - SNMPPortUpdate from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:38.030|ERROR|NOS|TP-Processor12|RawTrapReceiverFB|myValidate()|.|NOSException caught while SNMP PORT UPDATE:
com.cisco.nm.trx.nos.util.NOSException: Error in calling - SNMPPortUpdate from class NOSUtil
05-Mar-2012|10:58:41.238|ERROR|NOS|TP-Processor16|NOSUtil|querySyslogSubscriptionName|.|Error in calling - querySyslogSubscriptionName from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:59:08.246|ERROR|NOS|TP-Processor3|NOSUtil|queryEvtSet|.|Error in calling - queryEvtSet from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|11:04:12.086|ERROR|NOS|TP-Processor20|NOSUtil|queryEmailSubscriptionName|.|Error in calling - queryEmailSubscriptionName from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|11:14:48.216|ERROR|NOS|main|EPMPoller|ogsVerifyService|.|Error when calling OGS verify servicecom.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
05-Mar-2012|11:15:29.543|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:15:51.139|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:25:48.202|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:38:03.864|ERROR|NOS|TP-Processor5|NOSUpgrade|Caught exception in static initializer |.|java.io.FileNotFoundException: d:\CSCOpx\objects\smarts\conf\notifier\trap_notify.conf (The system cannot find the file specified)
05-Mar-2012|11:38:03.865|ERROR|NOS|TP-Processor5|NOSUpgrade|Caught exception in mail static initializer |.|java.io.FileNotFoundException: d:\CSCOpx\objects\smarts\conf\notifier\mail_notify.conf (The system cannot find the file specified)
05-Mar-2012|11:48:13.276|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Could not retrieve alert for moid = 28
05-Mar-2012|11:51:23.055|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:53:13.288|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Could not retrieve alert for moid = 24
05-Mar-2012|11:53:43.264|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Could not retrieve alert for moid = 28
05-Mar-2012|11:58:32.529|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:59:43.352|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Could not retrieve alert for moid = 28
05-Mar-2012|12:01:19.664|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|12:02:30.103|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|12:03:28.858|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|12:25:34.162|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|12:33:13.601|ERROR|NOS|Thread-6|EPMPoller|pollEPM_Wash()|.|Error condition pollEPM_Wash(): minAlertId 5887 MaxALertId 5885
05-Mar-2012|12:58:35.571|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|13:25:32.855|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|13:47:14.949|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|13:58:33.036|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500 com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:10.102|ERROR|NOS|TP-Processor3|NOSUtil|queryEmailSubscriptionName|.|Error in calling - queryEmailSubscriptionName from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:19.914|ERROR|NOS|TP-Processor3|NOSUtil|ExistingTrapForward|.|Error in calling - ExistingTrapForward from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:19.915|ERROR|NOS|TP-Processor3|RawTrapForwarder|myValidate()|.|NOSException caught while getting exiting port
com.cisco.nm.trx.nos.util.NOSException: Error in calling - ExistingTrapForward from class NOSUtil
05-Mar-2012|10:58:24.469|ERROR|NOS|TP-Processor12|NOSUtil|queryTrapSubscriptionName|.|Error in calling - queryTrapSubscriptionName from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:29.038|ERROR|NOS|TP-Processor12|NOSUtil|ExistingSNMPPort|.|Error in calling - ExistingSNMPPort from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:29.039|ERROR|NOS|TP-Processor12|RawTrapReceiver|myValidate()|.|NOSException caught while getting exiting port
com.cisco.nm.trx.nos.util.NOSException: Error in calling - ExistingSNMPPort from class NOSUtil
05-Mar-2012|10:58:38.029|ERROR|NOS|TP-Processor12|NOSUtil|SNMPPortUpdate|.|Error in calling - SNMPPortUpdate from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:58:38.030|ERROR|NOS|TP-Processor12|RawTrapReceiverFB|myValidate()|.|NOSException caught while SNMP PORT UPDATE:
com.cisco.nm.trx.nos.util.NOSException: Error in calling - SNMPPortUpdate from class NOSUtil
05-Mar-2012|10:58:41.238|ERROR|NOS|TP-Processor16|NOSUtil|querySyslogSubscriptionName|.|Error in calling - querySyslogSubscriptionName from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|10:59:08.246|ERROR|NOS|TP-Processor3|NOSUtil|queryEvtSet|.|Error in calling - queryEvtSet from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|11:04:12.086|ERROR|NOS|TP-Processor20|NOSUtil|queryEmailSubscriptionName|.|Error in calling - queryEmailSubscriptionName from class NOSUtil:
com.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "NOS-1.0" : Not found !!
05-Mar-2012|11:14:48.216|ERROR|NOS|main|EPMPoller|ogsVerifyService|.|Error when calling OGS verify servicecom.cisco.nm.xms.ctm.common.CTMException: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!
05-Mar-2012|11:15:29.543|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:15:51.139|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:25:48.202|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:38:03.864|ERROR|NOS|TP-Processor5|NOSUpgrade|Caught exception in static initializer |.|java.io.FileNotFoundException: d:\CSCOpx\objects\smarts\conf\notifier\trap_notify.conf (The system cannot find the file specified)
05-Mar-2012|11:38:03.865|ERROR|NOS|TP-Processor5|NOSUpgrade|Caught exception in mail static initializer |.|java.io.FileNotFoundException: d:\CSCOpx\objects\smarts\conf\notifier\mail_notify.conf (The system cannot find the file specified)
05-Mar-2012|11:48:13.276|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Could not retrieve alert for moid = 28
05-Mar-2012|11:51:23.055|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:53:13.288|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Could not retrieve alert for moid = 24
05-Mar-2012|11:53:43.264|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Could not retrieve alert for moid = 28
05-Mar-2012|11:58:32.529|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|11:59:43.352|ERROR|NOS|Process EPM Data Thread:Pooled Thread:1|EpmDataQueueItem|processEPMData()|.|Could not retrieve alert for moid = 28
05-Mar-2012|12:01:19.664|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|12:02:30.103|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|12:03:28.858|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|12:25:34.162|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|12:33:13.601|ERROR|NOS|Thread-6|EPMPoller|pollEPM_Wash()|.|Error condition pollEPM_Wash(): minAlertId 5887 MaxALertId 5885
05-Mar-2012|12:58:35.571|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|13:25:32.855|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|13:47:14.949|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
05-Mar-2012|13:58:33.036|ERROR|NOS|main|NOSServer|processDMMessages|.|NOSServer: unhandled Msg from dmgtd:1111708500
no errors in SMTP log
03-05-2012 06:28 AM
Lovely these crystal clear logs arrent they......
Well there is
FileNotFoundException: d:\CSCOpx\objects\smarts\conf\notifier\mail_notify.conf
Maybe check if it is actually there and if it is owned by casuser....
Not too sure what else we can do
Cheers,
Michel
03-05-2012 07:32 AM
It's there, and casuser has full control, but it looks to me like the default (unedited) configuration:
# mail-notify.conf - Configuration for the mail notification adapter
#
# Copyright (C) 1999-2000 System Management ARTS (SMARTS)
# All Rights Reserved
#
# $Id: mail-notify.conf,v 1.6 2003/06/25 21:08:49 katkin Exp $
#
GNA_Notifier::mail-Notifier
{
#
# Name of the SAM Server from which to receive notifications.
#
serverName = "INCHARGE-SA"
ConfiguredBy = MailConfiguration::Mail-Configuration
{
#
# Name of mail server host.
#
# MailServer = "localhost"
#
# Sender identity.
# Must be a valid email address, recognized by the mail server.
#
# SenderId = "daemon@localhost"
#
# Comma-separated list of users to whom notifications should
# be sent to.
#
# Recipients = "root@localhost"
}
ReadsInputFrom = GA_SubscriberFE::mail-Subscriber-FrontEnd
{
#
# How long, in seconds, an event must remain active before the
# adapter sends a notification.
#
eventSmoothingInterval = 0
#
# Notification threshold; discard notifications with a certainty
# below this value, which should be between 0.0 and 1.0.
#
minimumCertainty = 0.01
#
# Subscriptions.
#
SubscribesTo =
{
#
# Choice subscription.
#
# GA_ChoiceSubscription::mail-All-Problems-Subscriptions
# {
# className = ".*"
# instanceName = ".*"
# eventName = ".*"
# problems = TRUE
# aggregates = FALSE
# symptoms = FALSE
# }
#
# NL subscription.
#
GA_NLSubscription::mail-Default-NL-Subscriptions
{
NLName = "Default"
}
# #
# # Profile subscription.
# #
# GA_ProfileSubscription::mail-Default-Profile-Subscriptions
# {
# profileName = "default"
# }
}
}
#
# How long, in seconds, to ignore notifications from the server after it
# connects. Use this parameter to avoid receiving the initial flood of
# notifications when the server (re)connects.
#
initialEventDelay = 0
}
#
# Local Variables:
# mode: Makefile
# comment-column: 32
# fill-column: 79
# End:
03-05-2012 10:17 AM
Check if there is a d:\CSCOpx\objects\smarts\local\conf\notifier\mail_notify.conf
if you alter something in the notifcation subscriptions do these files change?
Cheers,
Michel
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: