Monitoring a host with SNMP disabled?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
germen
Posts: 6
Joined: Tue Mar 01, 2005 4:16 pm
Location: Spain
Contact:

Monitoring a host with SNMP disabled?

Post by germen »

Hi, I try check and graph a host only using Script/Command.

But when execute CMD.php the script don't work if SNMP not active in the host, the SNMP Information is SNMP error and host status Down.

It is possible to execute a Script/Command with SNMP disabled in the host?

Linux infierno 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/Linux

Installed packages:
net-snmp-5.1.2-11
net-snmp-utils-5.1.2-11
net-snmp-libs-5.1.2-11
php-4.3.10-3.2
php-mysql-4.3.10-3.2
php-snmp-4.3.10-3.2
mysql-4.1.9-1
mysqlclient10-3.23.58-4
mysql-server-4.1.9-1
rrdtool-1.0.49-3

CMD.PHP OUTPUT:

# php cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.10

#!/usr/bin/php -q
03/08/2005 09:11:31 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/08/2005 09:11:31 AM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
03/08/2005 09:11:33 AM - CMDPHP: Poller[0] Host[3] CMD: /home/cacti/scripts/getcpu sf15k-consola, output: usr:12 sys:8 wio:80 idl:0
03/08/2005 09:11:35 AM - CMDPHP: Poller[0] Host[4] SNMP: Host did not respond to SNMP
03/08/2005 09:11:35 AM - CMDPHP: Poller[0] Time: 4.1502 s, Theads: N/A, Hosts: 13


Sorry but my englidh is very BADDDD!!!!! :oops:


Thx,

Mariano
User avatar
germen
Posts: 6
Joined: Tue Mar 01, 2005 4:16 pm
Location: Spain
Contact:

Post by germen »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest