This document contains the NINO directory structure and basic configuration.
NINO Settings:
| Item | Value |
|---|---|
| Root directory: | <% &convertdir( $slash, $inivar{httpdir} ); %> |
| HTML document directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{htmldir}, $inivar{ninodir} ); %> |
| Images directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{htmldir}, $inivar{ninodir}, $inivar{imgdir} );%> |
| Alert sounds directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{htmldir}, $inivar{ninodir}, $inivar{sounddir} );%> |
| CSS stylesheet directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{htmldir}, $inivar{ninodir}, $inivar{cssdir} );%> |
| Upload directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{htmldir}, $inivar{ninodir}, $inivar{uploaddir} );%> |
| Mod_perl or cgi-bin directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir} );%> |
| NINO main configuration file: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} );%> |
Report settings:
| Item | Value |
|---|---|
| Report output directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{htmldir}, $inivar{ninodir}, $inivar{reportdir} );%> |
| Report data directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{htmldir}, $inivar{ninodir}, $inivar{reportdir}, $inivar{statisticsdir} );%> |
| Report template directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{htmldir}, $inivar{ninodir}, $inivar{reportdir}, $inivar{templatedir} );%> |
| Default Auto Report name: | <% $inivar{reportname}%>, day: <% $inivar{reportname}%>-dd-mm, month: <% $inivar{reportname}%>-mm-yyyy |
| Report graph width: | <% $inivar{graphwidth}%> pixels |
| Report graph height: | <% $inivar{graphheight}%> pixels |
| Auto Report template (day): | <% $inivar{daytemplate}%> |
| Auto Report template (month): | <% $inivar{monthtemplate}%> |
| Auto Report fuction: | <% $inivar{autoreport}%> |
Database:
| Item | Value |
|---|---|
| Database connect: | <% $inivar{dbconnect} %> |
| Database User: | <% $inivar{dbuser} %> |
| Database Passwd: | <% $inivar{dbpasswd} %> |
Monitoring settings:
| Item | Value | Permissions |
|---|---|---|
| Monitoring statistics data directory: | <% &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, $inivar{statisticsdir} );%> | Read/Write |
| Node file (all devices): | <% &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, $inivar{nodes} );%> | Read/Write |
| Monitoring maximum filesize: | <% $inivar{collect_maxsize} %> Bytes | - |
SNMP settings:
| Read community string: | <% $inivar{readcommunity} %> |
| Write community string: | <% $inivar{writecommunity} %> | Trap forwarding destination host: | <% $inivar{trapforward_dest} %> | Trap forwarding sources: | <% $inivar{trapforward_source} %> |
| Administrative user: | <% $inivar{windows_user} %> |
| Password: | <% $inivar{windows_passwd} %> |
# Min Hour Day Month Weekday Path+Job
# 0 = Sun
# 1 = Mon
# 2 = Tue
# 3 = Wed
# 4 = Thu
# 5 = Fri
# 6 = Sat
#
#
#
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "schedule.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %>
10 0 * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "trend.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %>
20 0 * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "report.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %>
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "monitor.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %> 1 8
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "monitor.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %> 2 8
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "monitor.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %> 3 8
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "monitor.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %> 4 8
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "monitor.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %> 5 8
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "monitor.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %> 6 8
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "monitor.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %> 7 8
0-59 * * * * <% $str = "perl "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "monitor.pl" ); $str .= " "; $str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} ); return $str; %> 8 8
<%
$str = "perl ";
$str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "trapd.pl" );
$str .= " ";
$str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} );
return $str; %>
Event monitoring (actions & recovery):
<%
$str = "perl ";
$str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "eventaction.pl" );
$str .= " ";
$str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} );
return $str; %>
Services (start & stop trapd and eventaction):
<%
$str = "perl ";
$str .= &convertdir( $slash, $inivar{httpdir}, $inivar{cgidir}, "services.pl" );
$str .= " ";
$str .= &convertdir( $slash, $inivar{httpdir}, $inivar{confdir}, $inivar{snmpini} );
return $str; %>