You are here

OPSVIEW dont send email notification

3 posts / 0 new
Last post
jcardoso80
jcardoso80's picture
OPSVIEW dont send email notification

Hello all,

First of all i must confess that i am very green guy on Linux. My problem is that cant configurate the Opsview to send notifications by email.

 I install the aplication using the OVF file, access with root (sudo su)

Gave permissions to the resolv.conf and add some dns

search pt.domain.org nameserver 8.8.8.8 nameserver internal DNS nameserver 202.54.1.110 domain pt.domain.org    Gave permissions to the Postfix/main.cf and add my configuration   alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = sender@domain.pt mydestination = receiver@domain.pt relayhost = realay.pt.domain.org mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = +   test the postfix       mailx -s "test" receiver@domain.pt asdas . Cc:   And receive the email   Now the web part,   Create the hosts, activate the notification   Notify On:
 Unreachable  Down  Recovery  Flapping
 

create the user with administrator role

Notify by:
 Email Notify for Host Groups:  All host groups

( Toggle all )  Monitoring Servers    


Notify for Service Groups:
 All service groups

( Toggle all )  Application - Apache HTTP Server  Database - PostgreSQL  Application - Atlassian  Keyword  Application - Email  Management - Puppet  Application - JasperReports  Network - Base  Application - Java Application Server  Network - Cisco  Application - Microsoft Exchange 2007  Network - Foundry  Application - OpenSim  Network - Juniper  Application - Opsview  Network - Linksys  Application - Web server  Network - NetScaler  Application - WebLogic  Network - Services  Application - WordPress  Network - SNMP MIB-II  Data Centre - Environment  OS - Base Unix Agent  Data Centre - Power  OS - Base Windows Agent  Database - IBM DB2  OS - Unix Agentless  Database - MS SQL Server  OS - Unix Generic  Database - MySQL  Service Provider - Amazon  Database - Oracle  Service Provider - Slicehost


Notify for Keywords:
 All keywords

( Toggle all )  opsview  opsview-components  



Notify for Host On:
 Unreachable  Down  Recovery  Flapping Notify for Service On:
 Warning  Critical  Recovery  Unknown  Flapping Notification Period:
     24x7     none     nonworkhours     workhours   

 When notifications will be sent to this contact Send From Alert: Contact will be sent notifications starting from this alert number Stop After Alert: Contact will not be sent notifications starting from this alert number. 0 means no limit

 

For Testing i shootdown a phisical host server, but nothing happens...

 

Host Host Status Service Status Totals
Handled
Unhandled
Handled
Unhandled ******30   UP   3 OK 1 CRITICAL ******38   UP   3 OK 1 CRITICAL ******40     DOWN 2 CRITICAL  

 

Host Status:   DOWN  

 (for 0d 2h 1m 56s) Status Information: CRITICAL - *******40: rta nan, lost 100% Performance Data: rta=0.000ms;500.000;1000.000;0; pl=100%;80;100;; rtmax=0.000ms;;;; rtmin=0.000ms;;;; Current Attempt: 1/2  (HARD state) Last Check Time: 2014-04-11 19:07:13 Check Type: ACTIVE Check Latency / Duration: 0.000 / 3.004 seconds Next Scheduled Active Check:   2014-04-11 19:12:16 Last State Change: 2014-04-11 17:09:44 Last Notification: N/A (notification 0) Is This Host Flapping? N/A In Scheduled Downtime?   NO   Last Update: 2014-04-11 19:11:31  ( 0d 0h 0m 9s ago) Active Checks:   ENABLED   Passive Checks:   ENABLED   Obsessing:   DISABLED   Notifications:   ENABLED   Event Handler:   ENABLED   Flap Detection:   DISABLED

 

  View Status Detail For This Host
View History For This Host
View Trends For This Host Host '*40'

Latest Archive
  Log File Navigation

Fri Apr 11 00:00:00 WEST 2014
to
Present..  

File: /usr/local/nagios/var/nagios.log Notification detail level for this host:  All notifications All service notifications All host notifications Service custom Service acknowledgements Service warning Service unknown Service critical Service recovery Service flapping Host custom Host acknowledgements Host down Host unreachable Host recovery Host flapping  Older Entries First:      

 

Host Service Type Time Contact Notification Command Information

 

 

No notifications have been recorded for this host in the current log file

 

 

What am i doing wrong???

 

jcardoso80
jcardoso80's picture
Re: OPSVIEW dont send email notification

resolved

jcardoso80
jcardoso80's picture
Re: OPSVIEW dont send email notification

resolved