Hi hi,<br><br>Disclaimer: "Not a linux guy, so I don't know the paths"<br>You should be able to run (test really), the check commands from the install dir:<br><br>root @ paranoid: cd /usr/local/nagios/libexec
<br>root @ paranoid: ./check_users -w 3 -c 10<br>USERS WARNING - 4 users currently logged in |users=4;3;10;0<br>root @ paranoid: ./check_by_ssh -H ironman -C "/usr/local/nagios/libexec/check_users -w 3 -c 10"<br>
USERS OK - 0 users currently logged in |users=0;3;10;0<br><br>Nagios does not need to be running to perform those commands successfully. If Nagios is already running, you need the correct definitions in your commands.cfg file (/usr/local/nagios/etc on Sun) as well as your
localhost.cfg + whatever *.cfg you are using for remote checks.<br><br>Lastly, you only need to start Nagios once via /etc/init.d/nagios stop|start|restart ... its not part of the command line execution templates or syntax.
<br><br>I hope my reply was clear enough to get you onto the right path.<br><br>-Marc<br><br><div><span class="gmail_quote">On 3/20/07, <b class="gmail_sendername">Di Giambelardini Gabriele</b> <<a href="mailto:g.digiambelardini@fabaris.it">
g.digiambelardini@fabaris.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi to all, i have nagios 2.8 installed on an redhat es 4.
<br>the problem is:<br>some check work fine, only if i start nagios after login my server and i<br>type /etc/init.d/nagios start/stop/restart.<br>instead if i type che command service nagios start/stop/restart<br>these check don't go... a the same time if nagios start at the boot when i
<br>reboot my server.<br>some body can help me???<br><br><br><br>-------------------------------------------------------------------------<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net's Techsay panel and you'll get the chance to share your
<br>opinions on IT & business topics through brief surveys-and earn cash<br><a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
</a><br>_______________________________________________<br>Nagiosplug-help mailing list<br><a href="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help">
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</a><br>::: Please include plugins version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote>
</div><br>