LoriotPro Forum
18 July 2012 à 04:09:08 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The new LoriotPro Forum is available
 
   Home   Help Search Login Register  
Pages: [1] 2 3
 1 
 on: 30 June 2009 à 11:54:27 
Started by GOK - Last post by Luteus Support
Hello

The on-line documentation has a chapter dedicated to the Watchdog program

http://www.loriotpro.com/Products/On-line_Documentation_V5/LoriotProDoc_EN/D4-Installing_LoriotPro/D4-F6_LoriotPro%20WatchDog_EN.htm

Our documentation is also well indexed by google.
if you specify for keywords "Loriotpro something" you have good chances to find the "something" on our web site.
try with "loriotpro watchdog" for example.

Good luck

 2 
 on: 30 June 2009 à 10:57:39 
Started by GOK - Last post by GOK
I would like to configure my Loriot Pro installation with watchdog. I can not find the documentation explaining how to install it.
Thanks for your help.

 3 
 on: 03 May 2009 à 09:24:46 
Started by GOK - Last post by GOK
 Smiley

Thank you very much for your assistance.
I solved the probleme by using the ODBC Mysql driver 3.51
instead of the ODBC Mysql driver 5.1. There must be a conflict between Win server 2003, ODBC Mysql 5.1 and LoriotPro.



 4 
 on: 30 April 2009 à 14:43:07 
Started by GOK - Last post by Luteus Support
Test are oK on our side with the following setting on the release ci.
Realized on Windows XP.

http://www.luteus.biz/Download/SupportFile/pbodbc.php

As explain also in this document a trace of the ODBC would be good to see what 's happen in you case.

Verify that the database is well define too.

 5 
 on: 30 April 2009 à 14:38:41 
Started by Luteus Support - Last post by Luteus Support
Comment limiter l'envoi de SMS à une fréquence de reception d'event

Pour expliquer le principe nous avons un script lua qui génére 100 events

----------------------------------
for var = 0, 100, 1 do 
   lp_value = 0;
   lp_buffer ="error";
if lp.SendEvent(  7000040,2,"127.0.0.1","255.255.255.255","Test - event/alarm 7000040 sent from LoriotPro with SMS Dispatch Manager") then
   lp_buffer ="ok";
   end
end
-------------------------------

Lire la suite
-------

http://www.luteus.biz/Download/SupportFile/SMSmanagerEvent.htm

 6 
 on: 30 April 2009 à 10:26:05 
Started by GOK - Last post by Luteus Support
Could you send tu support@loriotpro.com the screen capture of the odbc config.

The screen capture of the popup that are displayed when it crashes. (if any)

We will setup a similar setting and try to reproduce your problem.

 7 
 on: 30 April 2009 à 09:43:17 
Started by GOK - Last post by Luteus Support
Hello

We are a little bit confuse with you description because the Process surveyor monitor processes and not services.

Its goal is to generate event when a process is missing (windows) our reach a specific state (Linuw x/unix)

If you copy the plugin in an active view you get the status of the plugin and not the status of the process that you monitor.

To get the status of the process in the active view you should monitor the counter of the event that are generated when the process state change.

You can read the following documentation example made with a trap but it is roughly the same principle.
The object in the active should read the event counter and on the retrun value you can change the color of the icon.

Another solution is to use the LUA scripting if you use an Extended Edition.
In that case you don’t need the Process surveyor plugin because you directly monitor the process from The active view object.

Read the following documentation to know how to launch a script from an active view object

http://www.luteus.biz/Download/LoriotPro_Doc/V4_Extended_Edition/LoriotPro-V4-LUA_scripting_documentation/Scheduling_scripts_EN.htm

The full scripting documentation

http://www.luteus.biz/Download/LoriotPro_Doc/V4_Extended_Edition/LoriotPro-V4-LUA_scripting_documentation/LoriotPro_LUA_scripting_documentation.htm


Here is an example of script that monitor process. It can be necessary to adapt it to your exact requirement.

--------------------------------------------------------------------
-- Loriotpro V4
-- To run correctly this file is located to bin/config/script
-- Input values
-- lp_index index for this script ".1"
-- lp_oid SNMP OID for this script "ifnumber"
-- lp_host default ip address for this script "127.0.0.1"
-- Output Values
   lp_value = 0;
   lp_buffer ="error";
-- dofile(lp.GetPath().."/config/script/loriotinit.lua");
ProcessList = {};
ProcessStatus = {}
ProcessList[1] = "snmp.exe"; ProcessStatus[1] = "stopped";
ProcessList[1] = "notepad.exe"; ProcessStatus[1] = "stopped";



--MibFileExist = lp.IsLoadedMIBRef("HOST-RESOURCE-MIB");

if  MibFileExist ~= nil then
lp.Trace("Host Resource MIB File not compiled\n");
end

lp_value = lp.GetRows(lp_host,"hrswrunname.0,hrswrunstatus","myArray");
if lp_value ~= nil then
lp.Trace(("return "..lp_value.." lines\n"));



for i=0 , (lp_value-1) do
      lp.Trace("line "..i.." with index "..myArray["I-"..i].."-");
     lp.Trace(myArray["hrswrunname-"..i].."/"..myArray["hrswrunstatus-"..i].."\n");
     --lp.Trace(myArray["hrswrunname-"..i].."\n");
     --lp.Trace(myArray["hrswrunstatus-"..i].."\n");
       if (myArray["hrswrunname-"..i] ==  ProcessList[1]) then
            if(myArray["hrswrunstatus-"..i] ~= "running") then
                  ProcessStatus[1] = "stopped";                 
                 else
                  ProcessStatus[1] = "running";   
            end
        end


end

--ENvoie une alarme si un process de la list est manquant et not running
tblsize = table.getn(ProcessStatus);
for i=1 , tblsize do
            if ProcessStatus == "stopped" then
            alarm=string.format("WARNING Host : "..lp_host.." - Process : ".. ProcessList.." not running");
            lp.Print(alarm);                 
            evntnumber = 92000 + i;
                 lp.SendEvent( evntnumber,2,lp_host,"255.255.255.255",alarm);
                 end
      end

lp_buffer="ok";
else
lp_buffer="error";
end
----------------------------------------------------------------------------------------

In the active view rule you can check the return value and change the color according to it.

 8 
 on: 29 April 2009 à 23:55:54 
Started by GOK - Last post by GOK
I have made an active view of a host that has 3 services running, and they are monitored with processsurveyor ( service changes to running = 2, service changes to not running = 4 ) I inserted them into the active view map with the Insert Child objects option.

Dynamic polling interval is 15 seconds, when I stop the services they go red for 15 sec then they go back to green even though the services has not been restarted.

What do i need to change so they stay red while the service is stopped?

 9 
 on: 29 April 2009 à 22:15:57 
Started by GOK - Last post by GOK
I have been following the documentation and I have not missed a step!!!!!!!
This is the thrid version of loiotpro I have installed and on two different systems!!!!!
And I keep getting the same error.
I have no problem connecting to the mysql database with the windows DataSources,
though when I try to connect with in LoriotPro it crashes.
user : root
pass : LP2009
base : localhost.

I would appreciate if ou could test this as I think it a probleme with the application.

 10 
 on: 28 April 2009 à 09:24:07 
Started by GOK - Last post by Admin
We have a complet procedure of setting with drivers that are older, but it should not be a problem

Check one more time that our recommandation and installation steps are well done.
http://www.loriotpro.com/Products/On-line_Documentation_V5/LoriotProDoc_EN/K11-Interface_to_database_EN.htm

Update LoriotPro to the latest version:

http://www.luteus.biz/Download/LoriotPro_Soft/V5/loriotprov500b139SP0-ci.exe

It is true that the software should not popup this kind of message and close.
If you have still the same behavior after this checking we will try to reproduce the problem but be sure that you have selected the same options when defining your odbc connector.

Pages: [1] 2 3
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!