On 2009-06-07 17:59, Dennison Williams wrote:
> Hello,
> 
> I am still in the search for configuring notification escalations
> through opsview.  Ideally, I would like these service and host
> escalations to be generated when nagconfgen.pl is run.  I understand
> from reading through this code that this config file is generated from
> the settings in the opsview database.  I have also noticed that there
> does not seem to be any tables in the opsview database that refer to
> escalations.  There are however tables for escalations in the runtime
> database (but this is not used by nagconf.pl).
> 
> Since this does not seem to be integrated into opsview I am wondering
> how to add this.  I am familar with MVC frameworks, can write perl etc. 
> Would this be added as a module?  I assume this patch would involve a
> slight change to the OpsviewDB schema, provide hooks into the host add
> view/controller, add a menu for managing escalations via host and
> service which would link to a new view and controller method.  Can
> anyone provide tips on places to start on this?
> 
> Sincerely,
> Dennison Williams
> 
>
We used an other solution:
Creatded a "SMS Notification Methods" redirecting the messages to noma.

Service:
/usr/local/nagios/noma/notifier/alert_via_noma.pl -c s -s
"$NAGIOS_SERVICESTATE" -H "$NAGIOS_HOSTNAME" -S "$NAGIOS_SERVICEDES
C" -o "$NAGIOS_SERVICEOUTPUT" -n "$NAGIOS_NOTIFICATIONTYPE" -a
"$NAGIOS_HOSTALIAS" -i "$NAGIOS_HOSTADDRESS" -t "$NAGIOS_SHORT
DATETIME"

Host:

/usr/local/nagios/noma/notifier/alert_via_noma.pl -c h -s
"$NAGIOS_HOSTSTATE" -H "$NAGIOS_HOSTNAME" -n "$NAGIOS_NOTIFICATIONT
YPE" -i "$NAGIOS_HOSTADDRESS" -o "$NAGIOS_HOSTOUTPUT" -t
"$NAGIOS_SHORTDATETIME"
fi

Noma:
www.nagiosforge.org/gf/project/noma/
http://blog.netways.de/2009/05/15/ask-the-developer-noma/

/Urban



_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/listinfo/opsview-users

Reply via email to