Skip to end of banner
Go to start of banner

NMIS8 Contacts

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Contacts

Contact: Name of your contact

DutyTime: format is:

<start_hour>:<end_hour>:<days>
 
start_hour: 0-24
end_hour: 0-24 
days: all or any of "Sun","Mon","Tue","Wed","Thu","Fri","Sat"

 

Full day names can be used if you like, the perl code for days looks like this:
$today = ("Sun","Mon","Tue","Wed","Thu","Fri","Sat")[$ltime[6]];
if ( $days =~ /$today/i ) {



To give an example that isn't 24x7, here is Monday to Friday, 9 to 5:

8:17:MonTueWedThuFri

Email: email address of the contact, used to send escalations, etc, if configured

Location: location of your contact.  Not sure if this lines up with System -> System Configuration -> Locations at all or if it has any functional uses.

Mobile: as far as I can tell this is isn't used for anything functional at this time. This is from what I gathered using sub sendMSG in bin/nmis.pl 

Pager: At this time SNPP / Pagers are supported. The variable snpp_server can be set in Config.nmis, by default it holds the value set in server_name

Phone: 

TimeZone: this value is added to the time returned by the server before checking the start and end dates.  Either have your server in the same timezone as your users and use 0 here or set it up properly, have your server in GMT and set the TZ offset from GMT.

  • No labels