AW: Perfdata invocation problem
Sand Philipp
Philipp.Sand at sycor.de
Tue Jul 5 12:44:50 CEST 2005
> Hi Philipp,
>
> First of all, thanks for your response. Much appreciated!
You're welcome :-)
>
> > I had the same Problem with Nagios 2.0a1, but with b3 it just startet to
> work without Problems.
> > Are you sure the nagios User can call the insert.pl?
> > Is the logfile writable?
> > Did you tried to execute the script manually?
> > Have you turned on debug?
> Will check tomorrow (at work), since I just came home (we are 12h
> ahead of you... - New Zealand / Euro refugees from D ;-)).
:-) I plan to visit New Zealand next year, but that don't belongs to this list I think ;-)
> If you want to do me a favour you could have a look at your [working]
> configuration and let me know if I miss out something.
> Anyhow, have a smooth day!
Your config appears to look ok as far as you posted it.
Maybe you have to look at the path in the insert.pl (you have to config the path to your nagiosgraph.conf in the insert.pl and show.cgi! )
> PS: Played with passive checks today, as well (SNMPTT/SEC). Ran into
> "Service has not been scheduled yet", despite the fact that SEC's
> input goes into the nagios.cmd file and the external_* stuff in
> nagios.cfg is turned on. Any quick shots on that from your side,
> probably? :-)
The "Service has not been scheduled yet" is ok, because the Nagios Server which receives the passive checks won't schedule them unless you configure the passive check + an active check.
For SNMPTT you have to browse the list, there are pretty good posts for this in combination with windows eventlog checks in the list.
Have a nice day!
Philipp
>
> >>-----Ursprüngliche Nachricht-----
> >>Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> >>admin at lists.sourceforge.net] Im Auftrag von Holger (Woosh)
> >>Gesendet: Montag, 4. Juli 2005 21:29
> >>An: nagios-users at lists.sourceforge.net
> >>Betreff: [Nagios-users] Perfdata invocation problem
> >>
> >>Hi Nagios list,
> >>
> >>I am trying to integrate Nagiosgraph into Nagios to store perfdata in
> >>RRD files, but for some unknown reason the nagiosgraph insert.pl script
> >>never gets called (no entries in its log file).
> >>
> >>What I currently use is:
> >>
> >>Nagios 2.0.3b
> >>Nagiosgraph 0.5
> >>
> >>In nagios.conf I have activated perfdata processing like so:
> >>
> >>process_performance_data=1
> >>service_perfdata_command=process-service-perfdata
> >>
> >>Within my appropriate service I have activated perfdata processing:
> >>
> >>process_perf_data 1
> >>
> >>And misccommands contains:
> >>
> >>define command {
> >>
> >> command_name process-service-perfdata
> >> command_line /usr/local/nagios/nagiosgraph/insert.pl
> >>"$LASTSERVICECHECK$
> >>||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$"
> >> }
> >>
> >>Any ideas what I am doing wrong?
> >>
> >>Many thanks in advance,
> >>
> >>Holger
> >>
> >>
> >>-------------------------------------------------------
> >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> >>from IBM. Find simple to follow Roadmaps, straightforward articles,
> >>informative Webcasts and more! Get everything you need to get up to
> >>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > informative Webcasts and more! Get everything you need to get up to
> > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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
> >
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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