Hi everyone,
I amd desperate to get nbar grpahs working. I have already read every post on forums that has anything for nbar and it is not working.
I am running Cacti 0.8.6j. For polling i am runnign Cactid 0.8.6i. Other software PHP 5.1.6, net-snmp-5.3.1, mysql-5.0.27, httpd-2.2.3-5, rrdtool-.2.23
When i run snmpwalk manually i receive response as expected from the routers. i have enabled ip nbar protocol-discovery on two serial interfaces. When i run a script manually i receive the following but no data:
/usr/bin/php /var/www/html/cacti/scripts/ss_nbar_all.php 10.11.11.2 STRING 2 query http
PHP Warning: Missing argument 6 for ss_nbar_all() in /var/www/html/cacti/scripts/ss_nbar_all.php on line 17
When i run query in verbose mode this is the output:
+ Running data query [10].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/cisco_nbar_all.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_nbar_all.php 172.31.254.114 en$ync 2 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_nbar_all.php 172.31.254.114 en$ync 2 query index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_nbar_all.php 172.31.254.114 en$ync 2 query ifName'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_nbar_all.php 172.31.254.114 en$ync 2 query ifType'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_nbar_all.php 172.31.254.114 en$ync 2 query ifAdminStatus'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_nbar_all.php 172.31.254.114 en$ync 2 query ifOperStatus'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_nbar_all.php 172.31.254.114 en$ync 2 query protoname'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/cisco_nbar_all.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/cisco_nbar_all.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/cisco_nbar_all.xml'
but still no data. Graph is created but empty. I have also added "." in front of all the OIDS in a ss_nbar_all.php script as suggested in the forums. Graph is created but its empty. Any ideas anyone?
Nbar graphs
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Nbar graphs
Obviously, a required parameter is missing. Please read the docs of the original posterognjen wrote: /usr/bin/php /var/www/html/cacti/scripts/ss_nbar_all.php 10.11.11.2 STRING 2 query http
PHP Warning: Missing argument 6 for ss_nbar_all() in /var/www/html/cacti/scripts/ss_nbar_all.php on line 17
Reinhard
Who is online
Users browsing this forum: No registered users and 2 guests