Highlighted
imam80 Absent Member.
Absent Member.
325 views

Error:Validation of SNMP on a WIN 2003 server

Jump to solution

Hi,

 

While validating SNMP agent on a managed node i'm getting the following error.

 

C:\PROGRA~3\HP\HPBTOS~1\bin\INSTRU~1>"C:/Program Files/HP/HP BTO Software\bin\OpC\Perl\bin\perl.exe" "C:\ProgramData\HP\HP
BTO Software\\bin\instrumentation\winall_test_snmp.pl" "LIMA" ""
The system cannot find the path specified.

 

All OVO processes are running fine on the node and Communication between node and OVO server is fine.

 

Please let me the solution

 

Regards

Imam

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Outstanding Contributor.. CheeseTriangle Outstanding Contributor..
Outstanding Contributor..

Re: Error:Validation of SNMP on a WIN 2003 server

Jump to solution

Ciao!

 

Maybe I can offer some suggestions:

 

C:\PROGRA~3\HP\HPBTOS~1\bin\INSTRU~1>"C:/Program Files/HP/HP BTO Software\bin\OpC\Perl\bin\perl.exe" "C:\ProgramData\HP\HP
BTO Software\\bin\instrumentation\winall_test_snmp.pl" "LIMA" ""
The system cannot find the path specified.

This means the path cannot be found, so "C:/Program Files/HP/HP BTO Software\bin\OpC\Perl\bin\" or "C:\ProgramData\HP\HP
BTO Software\\bin\instrumentation\" does not exist.


1. Please check to see if the following two paths exist by starting a comand prompt (cmd.exe) and running "dir"
dir "C:\Program Files\HP\HP BTO Software\bin\OpC\Perl\bin\"
dir "C:\ProgramData\HP\HP BTO Software\bin\instrumentation"

 

Please don't forget the double quotes (").


You should get some listing returned.  If you get nothing, this is a problem.


2. I think you are referencing a very old location for perl which is installed with OA11.  You are specifying
C:\Program Files\HP\HP BTO Software\bin\OpC\Perl\bin\perl yet it should be something like C:\Program Files\HP\HP BTO Software\nonOV\perl\a\bin\perl.exe


3. maybe you've got a problem a problem with double quotes around your commands.  Start a command prompt and see if it works on the command prompt.


4. If you type "set ov" and then press enter, you'll see %ovinstalldir% and %ovdatadir% being returned.  If you have OA11 installed, running these next two commands in a command prompt should return something:

 

C:\>set ovdatadir
OvDataDir=C:\ProgramData\HP\HP BTO Software\

 

C:\>set ovinstalldir
OvInstallDir=C:\Program Files\HP\HP BTO Software\

 

Add \nonOV\perl\a\bin\perl.exe to %ovinstalldir%

C:\>dir "%ovinstalldir%\nonOV\perl\a\bin\perl.exe"
 Volume in drive C has no label.
 Volume Serial Number is 5890-B200

 Directory of C:\Program Files\HP\HP BTO Software\nonOV\perl\a\bin

04/12/2012  10:25            10,240 perl.exe
               1 File(s)         10,240 bytes
               0 Dir(s)  40,161,964,032 bytes free

 

Add \bin\instrumentation to %ovdatadir% and don't forget the double quotes. 

C:\>dir "%ovdatadir%\bin\instrumentation"
 Volume in drive C has no label.
 Volume Serial Number is 5890-B200

 Directory of C:\ProgramData\HP\HP BTO Software\bin\instrumentation

12/03/2014  16:33    <DIR>          .
12/03/2014  16:33    <DIR>          ..
01/09/2010  22:34            38,897 copy_hotfix.vbs
11/04/2014  17:39                79 DiscoverOM.cmd
11/04/2014  17:39            20,971 DiscoverOM.vbs
... and so on.


You can use these enviromental varialbes in your scripts - because on other systems, agents and instrumentation directories may exist on another drive (d:, e: and so on).  For examples using:

"%ovinstalldir%\nonOV\perl\a\bin\perl.exe" "%ovdatadir%\bin\instrumentation\winall_test_snmp.pl" "LIMA" ""

may be more effective.

 

Hope you get a much better answer,

 

CT.

0 Likes
1 Reply
Outstanding Contributor.. CheeseTriangle Outstanding Contributor..
Outstanding Contributor..

Re: Error:Validation of SNMP on a WIN 2003 server

Jump to solution

Ciao!

 

Maybe I can offer some suggestions:

 

C:\PROGRA~3\HP\HPBTOS~1\bin\INSTRU~1>"C:/Program Files/HP/HP BTO Software\bin\OpC\Perl\bin\perl.exe" "C:\ProgramData\HP\HP
BTO Software\\bin\instrumentation\winall_test_snmp.pl" "LIMA" ""
The system cannot find the path specified.

This means the path cannot be found, so "C:/Program Files/HP/HP BTO Software\bin\OpC\Perl\bin\" or "C:\ProgramData\HP\HP
BTO Software\\bin\instrumentation\" does not exist.


1. Please check to see if the following two paths exist by starting a comand prompt (cmd.exe) and running "dir"
dir "C:\Program Files\HP\HP BTO Software\bin\OpC\Perl\bin\"
dir "C:\ProgramData\HP\HP BTO Software\bin\instrumentation"

 

Please don't forget the double quotes (").


You should get some listing returned.  If you get nothing, this is a problem.


2. I think you are referencing a very old location for perl which is installed with OA11.  You are specifying
C:\Program Files\HP\HP BTO Software\bin\OpC\Perl\bin\perl yet it should be something like C:\Program Files\HP\HP BTO Software\nonOV\perl\a\bin\perl.exe


3. maybe you've got a problem a problem with double quotes around your commands.  Start a command prompt and see if it works on the command prompt.


4. If you type "set ov" and then press enter, you'll see %ovinstalldir% and %ovdatadir% being returned.  If you have OA11 installed, running these next two commands in a command prompt should return something:

 

C:\>set ovdatadir
OvDataDir=C:\ProgramData\HP\HP BTO Software\

 

C:\>set ovinstalldir
OvInstallDir=C:\Program Files\HP\HP BTO Software\

 

Add \nonOV\perl\a\bin\perl.exe to %ovinstalldir%

C:\>dir "%ovinstalldir%\nonOV\perl\a\bin\perl.exe"
 Volume in drive C has no label.
 Volume Serial Number is 5890-B200

 Directory of C:\Program Files\HP\HP BTO Software\nonOV\perl\a\bin

04/12/2012  10:25            10,240 perl.exe
               1 File(s)         10,240 bytes
               0 Dir(s)  40,161,964,032 bytes free

 

Add \bin\instrumentation to %ovdatadir% and don't forget the double quotes. 

C:\>dir "%ovdatadir%\bin\instrumentation"
 Volume in drive C has no label.
 Volume Serial Number is 5890-B200

 Directory of C:\ProgramData\HP\HP BTO Software\bin\instrumentation

12/03/2014  16:33    <DIR>          .
12/03/2014  16:33    <DIR>          ..
01/09/2010  22:34            38,897 copy_hotfix.vbs
11/04/2014  17:39                79 DiscoverOM.cmd
11/04/2014  17:39            20,971 DiscoverOM.vbs
... and so on.


You can use these enviromental varialbes in your scripts - because on other systems, agents and instrumentation directories may exist on another drive (d:, e: and so on).  For examples using:

"%ovinstalldir%\nonOV\perl\a\bin\perl.exe" "%ovdatadir%\bin\instrumentation\winall_test_snmp.pl" "LIMA" ""

may be more effective.

 

Hope you get a much better answer,

 

CT.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.