Somehow the jffnms user can't find the snmpget.

You could upgrade to PHP 4.3.11 where you have native SNMPv2 support or su to jffnms and check why it can't find snmpget.

Javier

JOSE LUIS ALMENAREZ GARCIA wrote:
Javier

I writed last Saturday, I installed jffnms on FC4, and I have the following problem, When I run the poller.php manually instead the crontab, this execute good and the snmp proccess response ok, but the poller is running for the crontab, the mail system reported me the next problm:
 From [EMAIL PROTECTED]  Mon Aug 29 19:35:42 2005

Date: Mon, 29 Aug 2005 19:35:03 -0500

From: [EMAIL PROTECTED] (Cron Daemon)

To: [EMAIL PROTECTED]

Subject: Cron <[EMAIL PROTECTED]> cd $JFFNMS && $PHP -q poller.php

X-Cron-Env: <JFFNMS=/www/htdocs/jffnms-0.8.2/engine>

X-Cron-Env: <PHP=/www/php/bin/php>

X-Cron-Env: <SHELL=/bin/sh>

X-Cron-Env: <HOME=/www/htdocs/jffnms-0.8.2>

X-Cron-Env: <PATH=/usr/bin:/bin>

X-Cron-Env: <LOGNAME=jffnms>

X-Cron-Env: <USER=jffnms>

Executing: /www/php/bin/php -q poller.php 2 0 1 0 0 &

19:35:03  :  H   2 : Poller Start : 78 Items.

19:35:03 : H 2 : I 12 : P 1 : reachability_start:ping(): 4313a9b7c6d93 -> buffer(): 1 (time P:25.48 | 1.23)

Executing: /www/php/bin/php -q poller.php 3 0 1 0 0 &

19:35:06 : H 2 : I 2 : P 10 : tcp_status,tcp_content,conn_delay(): open||0.00069 -> multi_buffer(): 3 (time P:3004.22 | 1.3

6)

19:35:06  :  H   3 : Poller Start : 413 Items.

19:35:07 : H 3 : I 37 : P 1 : reachability_start:ping(): 4313a9baf1f18 -> buffer(): 1 (time P:14.82 | 1.35)

sh: snmpget: command not found

sh: snmpget: command not found

19:35:07 : H 3 : I 14 : P 10 : snmp_counter:cpu(.1.3..5.1): -> buffer(): 2 (time P:16.11 | 0.6)

sh: snmpget: command not found

19:35:07 : H 3 : I 15 : P 10 : verify_interface_number(): -> verify_interface_number(): interfacenumber not changed (time P

:8.91 | 4.67)

sh: snmpget: command not found

19:35:07 : H 3 : I 16 : P 10 : verify_interface_number(): -> verify_interface_number(): interfacenumber not changed (time P

:7.91 | 3.84)

19:35:07 : H 3 : I 28 : P 15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 17 (time P:2.05 | 0.6)

19:35:07 : H 3 : I 29 : P 15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 18 (time P:1.94 | 0.6)

19:35:07 : H 3 : I 30 : P 15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 19 (time P:1.91 | 0.58)

19:35:07 : H 3 : I 31 : P 15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 20 (time P:3.65 | 0.65)

19:35:07 : H 3 : I 32 : P 15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 21 (time P:2.05 | 0.59)

When I give [EMAIL PROTECTED] engine]$ snmpget -v 2c -c telecom_ro 10.30.2.106 .1.3.6.1.2.1.1.5.0

SNMPv2-MIB::sysName.0 = STRING: GESTION_TELECOM

[EMAIL PROTECTED] engine]$

Snmpget give me a correct information, I don’t look for the proble, can you help me?

THanks

************NOTICIA DE CONFIDENCIALIDAD*****************


Este mensaje (incluyendo cualquier anexo) contiene información confidencial y se encuentra protegido por la Ley. Sólo puede ser utilizada por la persona o compañía a la cual está dirigido. Si usted no es el receptor autorizado, o por error recibe este mensaje, favor borrarlo inmediatamente. Cualquier retención, difusión, distribución, copia o toma cualquier acción basado en ella, se encuentra estrictamente prohibido.


************CONFIDENTIALITY NOTICE*****************

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to