AW: Nagiostat

Anders Bolinder anders.bolinder at wirelesscar.com
Wed Oct 27 16:47:18 CEST 2004


I have the same problem... Perf data is working, verified by debug printouts in nagiostat.
Using 
command_line          /usr/lib/nagios/nagiostat/nagiostat -p "$LASTCHECK$|!!|$HOSTNAME$|!!|$SERVICEDESC$|!!|$SERVICESTATE$|!!|$OUTPUT$|!!|$PERFDATA$"
in the perf processing command. However the nagiostat script will freeze at 
sub read_config {
  my $config;
  open( CONFIG, $CONFIG_FILE);
  my( $line_counter);
  while( <CONFIG>) {
    $line_counter++;
    chomp;
    my( @args) = &shellwords( $_);   <<<<<<<<<<< 

/Anders

-----Original Message-----
From: Cook, Garry [mailto:GWCOOK at mactec.com]
Sent: den 27 oktober 2004 15:51
To: James Coggan; Wengrzik, Andreas; nagios-users at lists.sourceforge.net
Subject: RE: AW: [Nagios-users] Nagiostat


Did you recompile Nagios with Perfdata support built in? If so, check the Nagios web interface and make sure that Performance Data is enabled there as well.

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.273.5050 (Office) - 720.220.1862 (Mobile)

nagios-users-admin at lists.sourceforge.net wrote:
> Yes I read the documentation, I reinstalled and configured nagiostat
> 3 times the debug is set to 3 and all configurations and permissions
> are ok. Checked twice before posting here.
> The nagios.log gives no errors and the debug.log gives nothing. Its
> empty, that why I'm thinking nagios isn't executing nagiostat.
> The I rechecked nagios configuration files. Remade them by
> scratch and
> nothing
> 
> Wengrzik, Andreas wrote:
> 
>> You got an logfile in the nagiostat folder??
>> You set debugging in nagiostat.cgi to 3 ?
>> 
>> -----Ursprüngliche Nachricht-----
>> Von: James Coggan [mailto:jamesmarkcoggan at yahoo.com.br]
>> Gesendet: Mittwoch, 27. Oktober 2004 12:43
>> An: nagios-users at lists.sourceforge.net
>> Betreff: [Nagios-users] Nagiostat
>> 
>> 
>> Hi,
>> 
>> I'm trying to use nagiostat to create some graphs
>> The problem is that nagios doesn't run nagiostat or whatever
>> perf-data service you add the process_performance_data is set to 1
>> and nothing happens Any ideas why? I tried using nagios with and
>> without mysql and on both cases no execution 



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
_______________________________________________
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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
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