Running as a daemon or background process?

David Musser david.r.musser at gmail.com
Thu Nov 3 06:10:56 CET 2005


Not sure if this helps... but here is the info from the status.log file.

[1130994558] SERVICE;LogServer;Check Disk -
/export/home;UNKNOWN;3/3;HARD;1130994426;1130995326;ACTIVE;1;1;1;1130950327;0;UNKNOWN;68530;1800;0;0;0;0;1;0;1;1;0;0.00;0;1;1;1;DISK
OK - free space: /export/home 4108 MB (48%):
[1130994558] SERVICE;LogServer;Check Disk -
/u01;UNKNOWN;3/3;HARD;1130994306;1130995206;ACTIVE;1;1;1;1130948407;0;UNKNOWN;63866;4500;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;DISK
OK - free space: /u01 7549 MB (89%):



On 11/1/05, David Musser <david.r.musser at gmail.com> wrote:
> I'm new to nagios.  We have it setup on several servers, and all was working
> nicely until a power outtage the other day on a server nagios is monitoring
> with the plugins.
>
>  So now I'm not sure if the new issue is relating to that or something else.
>
>  Scenario.
>
>  - Running nagios via the command line - everything is ok and works as
> expected.
>
>  - Running nagios via a background process & and using the nohup to keep
> output gives status of unknown on several of the service checks for a
> solaris server.
>
>  - Running nagios via the nagios -d command or the init.d/nagios script
> gives status of unknown on several of the service checks for a solaris
> server.
>
>  Note we are checking using ssh, talking to the plugins.  Running the
> check_by_ssh command by itself works, and returns the correct status.  It's
> only when the service is run as a service or background process that we see
> the odd behavior.
>
>  -D
>
> --
> David R. Musser
> MCP & MCP +I
> TEL: 540 974 3559
> Email: david.r.musser at gmail.com


--
David R. Musser
MCP & MCP +I
TEL: 540 974 3559
Email: david.r.musser at gmail.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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