[
https://issues.apache.org/jira/browse/CLOUDSTACK-9183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15632196#comment-15632196
]
ASF GitHub Bot commented on CLOUDSTACK-9183:
--------------------------------------------
Github user rhtyd commented on the issue:
https://github.com/apache/cloudstack/pull/1744
I tested this, the script is useful for getting alerts when any expected
service running on VR fails. A `monitorServices.py` script monitors such
services and tries to recover failing services, while logging this at
`/var/log/routerServiceMonitor.log`. Without this script, mgmt server/admins
won't know when an error such as failing service has happened. LGTM on manual
testing.
> CS 4.7.0 bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or directory
> ---------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9183
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9183
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: SystemVM
> Affects Versions: 4.7.0
> Environment: CloudStack 4.7.0 RC1, Ubuntu 14.04.3, KVM, NFS
> Reporter: Milamber
> Labels: kvm, systemvm
>
> On my 4.7.0 RC1 test environment, I've this warning message:
> 2015-12-15 23:57:35,165 WARN [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-f1556e81) (logid:db80c3d4) Unable to get alerts
> from router r-11-VM bash: /opt/cloud/bin/getRouterAlerts.sh: No such file or
> directory
> I don't find this bash script anywhere (on management node, host node and
> inside the VR)
> I find theses references to this script inside:
> public static final String ROUTER_ALERTS = "getRouterAlerts.sh";
> ./core/src/com/cloud/agent/resource/virtualnetwork/VRScripts.java
> ExecutionResult result = _vrDeployer.executeInVR(routerIp,
> VRScripts.ROUTER_ALERTS, args);
> ./core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)