I'm getting there, as a Linux newbie I did not know that I needed to prefix the command by the full path or ./
The opsview_api command now run but with the following error can't locate XML/Simple.pm in @inc (@INC Contains........etc) at opsview_api line 46 BEGIN failed-- compilation aborted at opsview_api line 46 Thanks Kevin ----- Forwarded by Kevin X White/UK/Corus on 02/06/2009 16:11 ----- Kevin X White/UK/Corus wrote on 26/05/2009 10:21:55: > Thanks for that, but even after navigating to the > \usr\local\nagios\bin directory and switching to the nagios user I still get: > > 'bash: opsview_api: command not found' when I type opsview_api -f > opsview.xml (opsview.xml is my config file) > > ls -l does however show -r-xr-x--- 1 nagios nagios 3009 29-05-14 > 02: 20 opsview_api > > I am a complete newbie to Linux so thanks for the help. > > Kevin > > [email protected] wrote on 22/05/2009 15:22:46: > > > On 22 May 2009, at 15:17, [email protected] wrote: > > > > > > > > Thanks for that, I've scp'd the xml file into the VM, but the doc tells me > > to run the api executable as the 'NAGIOS' user, > > unfortunately I cannot find a password for this account. > > I've tried running it as SU but simply get command not found. > > > > As the root user on the VM, you can run "su - nagios" to switch to > > the nagios user. > > > > Ton > > _______________________________________________ > > Opsview-users mailing list > > [email protected] > > http://lists.opsview.org/listinfo/opsview-users ********************************************************************** This transmission is confidential and must not be used or disclosed by anyone other than the intended recipient. Neither Tata Steel Europe Limited nor any of its subsidiaries can accept any responsibility for any use or misuse of the transmission by anyone. For address and company registration details of certain entities within the Corus group of companies, please visit http://www.corusgroup.com/entities ********************************************************************** _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/listinfo/opsview-users
