Nagios XML Engine problems

magic_rooter magic.rooter at gmail.com
Thu Jul 5 12:14:19 CEST 2007


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?
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:
root at nagios:/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.
root at nagios:/usr/src/distr/NXE>

_________________________

root at nagios:/usr/src/distr/NXE>perl nxe_client.pl
http://nagios/cgi-bin/nxe.pl?type=status&param=status1
[1] 22815
root at nagios:/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
root at nagios:/usr/src/distr/NXE>
_______________

When I open this page in Firefox
http://nagios/cgi-bin/nxe.pl?type=status&param=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 at 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





More information about the Users mailing list