magic_rooter wrote: > Hello everybody! > I installed NXE and all useful libraries and addons but have problems > with launching. > > The main question is the next. For what version of Nagios NXE written?
It would appear (http://nxe.sf.net) that NXE was published in July 2003 and hasn't been touched since. I would guess it was tested with the nagios version of that time. A lot of things has happened in nagios since 2003. /L > I ask this because in nxe.config I see strange file status.log. There > is no such file in Nagios 2.5. It was in nagios 1.0. So what I must > write instead of this? No it called status.dat. So I need to write: > status1=/usr/local/nagios/var/status.dat? > > Also I have another problem. When I run this command I see: > [EMAIL PROTECTED]:/usr/src/distr/NXE>perl nxe.pl status status1 > Use of uninitialized value in string eq at nxe.pl line 62. > Use of uninitialized value in string eq at nxe.pl line 325, <CONFIG> line 11. > Use of uninitialized value in string eq at nxe.pl line 325, <CONFIG> line 11. > Use of uninitialized value in string eq at nxe.pl line 73, <STATUS> line 1. > Use of uninitialized value in string eq at nxe.pl line 88, <STATUS> line 1. > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE NXE_RESULT PUBLIC "-//RSMEXPERTS//DTD Nagios XML Engine > Output//EN//" "http://nxe.sourceforge.net/dtd/NXEv1r0.dtd"> > > <NXE_RESULT NAME="Nagios XML Engine Report"> > <ERROR CODE="900">Invalid format in the following entry: > ########################################</ERROR> > </NXE_RESULT> > Error: Inappropriate ioctl for device at nxe.pl line 118, <STATUS> line 1. > [EMAIL PROTECTED]:/usr/src/distr/NXE> > > _________________________ > > [EMAIL PROTECTED]:/usr/src/distr/NXE>perl nxe_client.pl > http://nagios/cgi-bin/nxe.pl?type=status¶m=status1 > [1] 22815 > [EMAIL PROTECTED]:/usr/src/distr/NXE>Use of uninitialized value in string at > nxe_client.pl line 85. > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.0/Frontier/RPC2.pm line 55. > Fault returned from XML RPC Server, fault code 3: no such method `' > > > [1]+ Exit 255 perl nxe_client.pl > http://nagios/cgi-bin/nxe.pl?type=status > [EMAIL PROTECTED]:/usr/src/distr/NXE> > _______________ > > When I open this page in Firefox > http://nagios/cgi-bin/nxe.pl?type=status¶m=status1 > I see the next thing: > > − > <NXE_RESULT NAME="Nagios XML Engine Report"> > <ERROR CODE="900">Can't open Nagios Status File . Check config file.</ERROR> > </NXE_RESULT> > > _____________ > I will be very pleased if you help me because I need xml output very much:( > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null