Nagiosgraph is not working

Paulus, Jake jpaulus at sourceinterlink.com
Tue Nov 11 20:10:23 CET 2008


Don't forget that the directory you specify for the RRD files to go must
be writable by the user you run Nagios as.

 

Thanks, -Jake

239-949-4450 x6628

 

From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] 
Sent: Tuesday, November 11, 2008 1:59 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Nagiosgraph is not working

 

Hi guys,

 

Thanks for all your help

 

 have set up Nagios graph the way they I is been instructed as per
http://www.novell.com/coolsolutions/feature/19843.html      && also as
per READMe.txt.

 

Perf data is moving fine into the  =/tmp/service-perfdata file. But the
rrd file is not created(the rrd database with name "nagios" and
datasource "pegcount"). 

It should be automatically created?

Where It will create the .rrd file It should be in rrd folder as
mentioned in nagiosgraph.conf Am I right. Or do I have create manually
the dabase and data source using rrdtool -create?

 

 

Do I need to add my service name to servdb.conf?

 

Pls help me I m working on this from so many days? Pls let me know if
any more information is required then.

 

 

Nagios.conf

======================================

process_performance_data=1

service_perfdata_command=process-service-perfdata

service_perfdata_file=/tmp/service-perfdata

service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICED
ESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$

service_perfdata_file_mode=a

service_perfdata_file_processing_interval=5

service_perfdata_file_processing_command=process-service-perfdata

 

command.conf

======================================

define command {

  command_name   process-service-perfdata

  command_line   /usr/local/nagiosgraph/insert.pl

}

 

stage8.ishisystems.com.conf

======================================

 

#novin for nagiosgraph generation page pointing

define serviceextinfo{

       host_name             stage8.ishisystems.com

       service_description   AllCOMPONENT PEGCOUNT

       notes_url
/nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=nagios,pe
gcount&geom=500x100&rrdopts=%2Dl%200%20%2Du %201000%20%2Dt%20PEGCOUNT

       }

 

 

Now I have updated my nagiosgraph/map file and added

 

Map entry

======================================

# perfdata:1226534492||stage8.ishisystems.com||AllCOMPONENT
PEGCOUNT||138||

/perfdata:AllCOMPONENT PEGCOUNT\|\|([0-9]+)/

and push @s, [ nagios, [ pegcount,   GAUGE, $1 ] ];

 

 

PerfData: 1226534492||stage8.ishisystems.com||AllCOMPONENT
PEGCOUNT||138||

 

Nagiosgraph.conf

======================================

debug = 5

debug_insert = 5

debug_showservice = 5

debug_showhost = 5

debug_showgraph = 5

logfile = /usr/local/nagiosgraph/log/nagiosgraph.log

rrddir =  /usr/local/nagiosgraph/rrd

mapfile = /usr/local/nagiosgraph/map

heartbeat = 600

perflog = /tmp/service-perfdata

stylesheet = /usr/local/nagiosgraph/nagiosgraph.css

 

 

Thanks & Regards

Novin Jaiswal

Ishi Systems Inc.

732-318-8156(cell)

 

 

 

From: Aaron Segura [mailto:Aaron.Segura at cabelas.com] 
Sent: Tuesday, November 11, 2008 11:32 AM
To: Novin Jaiswal; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Need Nagiosgraph tutorial/Help Link

 

That seems like a question google would be able to answer for you pretty
easily.

 

________________________________

From: Novin Jaiswal [mailto:novin.jaiswal at ishisystems.com] 
Sent: Tuesday, November 11, 2008 9:18 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Need Nagiosgraph tutorial/Help Link

 

Hi Friends,

 

I am trying to integrate Nagiosgraph with nagios.

 

Is there any helpful link or tutorial available for Nagiosgraph?

 

I appreciate your help.

 

Thanks & Regards

Novin Jaiswal

Ishi Systems Inc.

732-318-8156(cell)

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081111/b6c54545/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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